sena1
(Abhisek Sen)
January 16, 2021, 3:32pm
1
Hi All,
While going through the challenge for design background processing I am not able to find the various rules in the BackGroundProcess_Solutions.zip that are referred in the solution of the challenge.
e.g., ZonedDateTime R-U-F, the entire ZonedDateTime ruleset actually. Looks like one or more zips went missing in the bigger downloadable solutions zip.
Has anyone else faced similar issue? Or I am missing something.
Thanks,
Abhisek
pedel
(Lee Pederson)
January 20, 2021, 12:29pm
2
@sena1
The ZonedDateTime ruleset is just a Library named ZonedDateTime and a R-U-F named ToZoneId.
The parameters to ToZoneId are strTimeStamp and strZoneId.
8>< - - - - - - java code - - - - - - ><8
// Example: 20170508T111437.582 GMT
// Need to remove T since is not a valid pattern character
int posT = strTimeStamp.indexOf("T");
strTimeStamp = strTimeStamp.substring(0,posT) + " " + strTimeStamp.substring(posT + 1);
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMdd HHmmss.SSS VV");
LocalDateTime ldt = LocalDateTime.parse(strTimeStamp, formatter);
int posSpace = strTimeStamp.lastIndexOf(" ");
String zoneId = strTimeStamp.substring(posSpace + 1);
ZonedDateTime zldt = ldt.atZone(ZoneId.of(zoneId));
ZonedDateTime out = zldt.withZoneSameInstant(ZoneId.of(strZoneId));
// put the "T" back in
String ret = formatter.format(out);
posSpace = ret.indexOf(" ");
ret = ret.substring(0,posSpace) + "T" + ret.substring(posSpace + 1);
return ret;
@sena1
updated the product file . please check and confirm
sena1
(Abhisek Sen)
January 21, 2021, 8:09pm
4
@MukeshAgrawal
Thanks Mukesh, It’s now available, but that’s not the only content which is missing.
I found that the application rulesets of FSGEnt are missing.
FSG-Examples-Work work pool record is missing.
Could you please try saving the FSGEnt:BackgroundProcExercises access group and drill down from there to find the missing items.
sena1
(Abhisek Sen)
January 21, 2021, 8:13pm
5
@pedel
Thanks Lee for letting me know the content of the ruleset, the RUF body is there in the course content.
Also, I found some more missing items, mentioned them in the reply to Mukesh’s post below.