TemporalParser backed directly by a java.time.DateTimeFormatter, used for the built-in ISO and RFC formats that do not need a locale-specific numeric pattern. Formats a ZonedDateTime as a second-precision ISO instant string, and is never the locale default for either date-only or date-time output.

Implements: TemporalParser


Properties

PropertyReturnsDescription
nameStringThe name this parser was registered under, for example ISO_DATE_TIME or BASIC_ISO_DATE.

Inherited from TemporalParser

Properties

PropertyReturnsDescription
javaPatternStringJava DateTimeFormatter pattern string underlying this parser. Returns null when this parser is not based on a simple pattern string, for example a built-in ISO formatter.
jsPatternStringEquivalent client-side pattern string for this parser, used to keep browser-side date formatting in step with the server. Returns null when this parser has no client-side equivalent.

Methods

getJsPattern()

Returns: String

Equivalent client-side pattern string for this parser, used to keep browser-side date formatting in step with the server. Returns null when this parser has no client-side equivalent.

getJavaPattern()

Returns: String

Java DateTimeFormatter pattern string underlying this parser. Returns null when this parser is not based on a simple pattern string, for example a built-in ISO formatter.


Methods

getName()

Returns: String

The name this parser was registered under, for example ISO_DATE_TIME or BASIC_ISO_DATE.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.