Popup Date Format
Represents the format of a date field in a pop-up.
Note: The structure of the date will not automatically adjust to locale-specific formats. However, the language and abbreviations will be localized according to the default locale. Different enumerated subtypes are provided to match the locale-specific format, for example:
To format a date as
dd/MM/yyyy
, use ShortDateLeTo format a date as
MM/dd/yyyy
, use ShortDate
All provided examples assume the locale is set to en-US
.
Since
200.1.0
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"
Example: 30/12/1997. The corresponding DateTimeFormatter pattern is: "dd/MM/yyyy"
Example: 30/12/1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "dd/MM/yyyy hh:mm:ss a"
Example: 30/12/1997 17:59:59. The corresponding DateTimeFormatter pattern is: "dd/MM/yyyy HH:mm:ss"
Example: 30/12/1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "dd/MM/yyyy hh:mm a"
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.
A pattern representing the date format using symbols compatible with java.time.format.DateTimeFormatter.