Question: Which statement is true about formatting and parsing of temporal objects? Select the one correct answer. (a) The DateTimeFormatter class provides only factory methods to
Which statement is true about formatting and parsing of temporal objects?
Select the one correct answer.
(a) The DateTimeFormatter class provides only factory methods to obtain
predefined formatters.
(b) The styles defined by the java.time.format.FormatStyle enum type
are based on the ISO standard.
(c) The ofLocalizedDate() method of the DateTimeFormatter class
returns a formatter that is based on a letter pattern passed as argument to the
method.
(d) The pattern "yy-mm-dd" can be used to create a formatter that can format a
LocalDate object.
(e) None of the above.
Step by Step Solution
3.38 Rating (157 Votes )
There are 3 Steps involved in it
e a The DateTimeFormatter class provides factory metho... View full answer
Get step-by-step solutions from verified subject matter experts
