Page 1 of 1

About Question enthuware.ocpjp.v7.2.1194 :

Posted: Wed Sep 25, 2013 12:58 pm
by Student
It's worth noting the concept of week year is probably one unknown to many (and it certainly wasn't known to me until I just looked it up):

http://docs.oracle.com/javase/7/docs/ap ... #week_year

Using YYYY instead of yyyy would therefore make no difference in 99% of cases but the 1% of cases around the year end/start boundary would cause issues whose cause would not immediately be apparent.

Re: About Question enthuware.ocpjp.v7.2.1194 :

Posted: Wed Sep 25, 2013 4:17 pm
by admin
Very good. Thanks for the link.
-Paul.

Re: About Question enthuware.ocpjp.v7.2.1194 :

Posted: Thu Dec 17, 2020 3:01 pm
by 2014098616
Hello admin.

There is a typo error here System.out.println(dtf.format(LocalDate.now()));
The variable name for all the options is sdf, but the variable name used to format LocalDate.now() is dtf

Re: About Question enthuware.ocpjp.v7.2.1194 :

Posted: Fri Dec 18, 2020 11:10 pm
by admin
Fixed.
thank you for your feedback!

Re: About Question enthuware.ocpjp.v7.2.1194 :

Posted: Fri Jan 01, 2021 2:14 pm
by dimitrilc
The text/number rules in the explanation are only applicable to 8 symbols h, H, m, s, d, D, M, and e. But you did not include the rules for symbols y, z, S (among the total of 11 symbols that you guys listed as important ones).

Also missing the Z symbol (based on the Jeane + Scott book).

Maybe add year(y), fraction(S), zone-name(z), and zone-offset(Z) rules to complete the explanation?

Re: About Question enthuware.ocpjp.v7.2.1194 :

Posted: Fri Jan 01, 2021 8:27 pm
by admin
The explanation lists only the ones that are important for the exam. It will be ok even if you didn't know about others.
The book has its view, we have ours.

Re: About Question enthuware.ocpjp.v7.2.1194 :

Posted: Fri Jan 01, 2021 10:30 pm
by dimitrilc
Thanks for the explanation