Popup Date Format
Represents the format of a date field in a pop-up.
Little Endian (LE) formats return dates always in the order of day - month - year. The separator between the date components is localized depending on the current locale. For example for ShortDateLe, the 30th of December 1997 is formatted as follows:
for
en-us:30/12/1997for
de:30.12.1997Non-LE formats follow CLDR standards. The ordering of date components as well as separators are locale-dependent. For example for ShortDate, the 30th of December 1997 is formatted as follows:for
en-us:12/30/97for
de:30.12.97
All provided examples assume the locale is set to en-US.
Since
200.1.0
See also
Inheritors
Types
Example: 30 Dec 1997. The corresponding DateTimeFormatter pattern is: "d MMM yyyy"
Example: 30 Dec 1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "d MMM yyyy hh:mm:ss a"
Example: 30 Dec 1997 17:59:59. The corresponding DateTimeFormatter pattern is: "d MMM yyyy HH:mm:ss"
Example: 30 Dec 1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "d MMM yyyy hh:mm a"
Example: 30 Dec 1997 18:00. The corresponding DateTimeFormatter pattern is: "d MMM yyyy HH:mm"
Example: Tuesday, December 30, 1997. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy"
Example: Tuesday, December 30, 1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy hh:mm:ss a"
Example: Tuesday, December 30, 1997 17:59:59. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy HH:mm:ss"
Example: Tuesday, December 30, 1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy hh:mm a"
Example: Tuesday, December 30, 1997 18:00. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy HH:mm"
Example: December 30, 1997. The corresponding DateTimeFormatter pattern is: "MMMM d, yyyy"
Example: December 30 1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "MMMM d yyyy hh:mm:ss a"
Example: December 30 1997 17:59:59. The corresponding DateTimeFormatter pattern is: "MMMM d yyyy HH:mm:ss"
Example: December 30 1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "MMMM d yyyy hh:mm a"
Example: December 30 1997 18:00. The corresponding DateTimeFormatter pattern is: "MMMM d yyyy HH:mm"
Example: December 1997. The corresponding DateTimeFormatter pattern is: "MMMM yyyy"
Example: 12/30/1997. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy"
Little-endian short date. For little-endian patterns the order of the date components day - month - year is always preserved when formatting a date with formatter, independent of the current locale. The separator between the date components is locale dependent. Example: 30/12/1997. The corresponding DateTimeFormatter pattern is: "dd/MM/yyyy"
Little-endian short date. For little-endian patterns the order of the date components day - month - year is always preserved when formatting a date with formatter, independent of the current locale. The separator between the date components is locale dependent. Example: 30/12/1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "dd/MM/yyyy hh:mm:ss a"
Little-endian short date. For little-endian patterns the order of the date components day - month - year is always preserved when formatting a date with formatter, independent of the current locale. The separator between the date components is locale dependent. Example: 30/12/1997 17:59:59. The corresponding DateTimeFormatter pattern is: "dd/MM/yyyy HH:mm:ss"
Little-endian short date. For little-endian patterns the order of the date components day - month - year is always preserved when formatting a date with formatter, independent of the current locale. The separator between the date components is locale dependent. Example: 30/12/1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "dd/MM/yyyy hh:mm a"
Little-endian short date. For little-endian patterns the order of the date components day - month - year is always preserved when formatting a date with formatter, independent of the current locale. The separator between the date components is locale dependent. Example: 30/12/1997 18:00. The corresponding DateTimeFormatter pattern is: "dd/MM/yyyy HH:mm"
Example: 12/30/1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy hh:mm:ss a"
Example: 12/30/1997 17:59:59. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy HH:mm:ss"
Example: 12/30/1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy hh:mm a"
Example: 12/30/1997 18:00. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy HH:mm"
Example: Dec 1997. The corresponding DateTimeFormatter pattern is: "MMM yyyy"
Unknown date format.
Example: 1997. The corresponding DateTimeFormatter pattern is: "yyyy"
Properties
A DateTimeFormatter matching this format's pattern. The returned DateTimeFormatter honors locale-specific formatting and follows CLDR standards.
A pattern representing the date format using symbols compatible with DateTimeFormatter.