PopupDateFormat

sealed class PopupDateFormat

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/1997

  • for de: 30.12.1997 Non-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/97

  • for de: 30.12.97

All provided examples assume the locale is set to en-US.

Since

200.1.0

See also

Inheritors

Types

Link copied to clipboard

Example: 30 Dec 1997. The corresponding DateTimeFormatter pattern is: "d MMM yyyy"

Link copied to clipboard

Example: 30 Dec 1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "d MMM yyyy hh:mm:ss a"

Link copied to clipboard

Example: 30 Dec 1997 17:59:59. The corresponding DateTimeFormatter pattern is: "d MMM yyyy HH:mm:ss"

Link copied to clipboard

Example: 30 Dec 1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "d MMM yyyy hh:mm a"

Link copied to clipboard

Example: 30 Dec 1997 18:00. The corresponding DateTimeFormatter pattern is: "d MMM yyyy HH:mm"

Link copied to clipboard

Example: Tuesday, December 30, 1997. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy"

Link copied to clipboard

Example: Tuesday, December 30, 1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy hh:mm:ss a"

Link copied to clipboard

Example: Tuesday, December 30, 1997 17:59:59. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy HH:mm:ss"

Link copied to clipboard

Example: Tuesday, December 30, 1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy hh:mm a"

Link copied to clipboard

Example: Tuesday, December 30, 1997 18:00. The corresponding DateTimeFormatter pattern is: "EEEE, MMMM d, yyyy HH:mm"

Link copied to clipboard

Example: December 30, 1997. The corresponding DateTimeFormatter pattern is: "MMMM d, yyyy"

Link copied to clipboard

Example: December 30 1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "MMMM d yyyy hh:mm:ss a"

Link copied to clipboard

Example: December 30 1997 17:59:59. The corresponding DateTimeFormatter pattern is: "MMMM d yyyy HH:mm:ss"

Link copied to clipboard

Example: December 30 1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "MMMM d yyyy hh:mm a"

Link copied to clipboard

Example: December 30 1997 18:00. The corresponding DateTimeFormatter pattern is: "MMMM d yyyy HH:mm"

Link copied to clipboard

Example: December 1997. The corresponding DateTimeFormatter pattern is: "MMMM yyyy"

Link copied to clipboard

Example: 12/30/1997. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy"

Link copied to clipboard

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"

Link copied to clipboard

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"

Link copied to clipboard

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"

Link copied to clipboard

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"

Link copied to clipboard

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"

Link copied to clipboard

Example: 12/30/1997 05:59:59 PM. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy hh:mm:ss a"

Link copied to clipboard

Example: 12/30/1997 17:59:59. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy HH:mm:ss"

Link copied to clipboard

Example: 12/30/1997 06:00 PM. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy hh:mm a"

Link copied to clipboard

Example: 12/30/1997 18:00. The corresponding DateTimeFormatter pattern is: "MM/dd/yyyy HH:mm"

Link copied to clipboard

Example: Dec 1997. The corresponding DateTimeFormatter pattern is: "MMM yyyy"

Link copied to clipboard

Unknown date format.

Link copied to clipboard

Example: 1997. The corresponding DateTimeFormatter pattern is: "yyyy"

Properties

Link copied to clipboard

A DateTimeFormatter matching this format's pattern. The returned DateTimeFormatter honors locale-specific formatting and follows CLDR standards.

Link copied to clipboard

A pattern representing the date format using symbols compatible with DateTimeFormatter.