Package io.deephaven.time
Enum Class DateTimeFormatters
- All Implemented Interfaces:
Serializable
,Comparable<DateTimeFormatters>
,java.lang.constant.Constable
Common date time formatters.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDate only format.Date only format with the time zone.ISO date plus time format with a 'T" separating the date and time, 0 sub-second digits and, no time zone.ISO date plus time format with a 'T" separating the date and time, 0 sub-second digits and, the time zone.ISO date plus time format with a 'T" separating the date and time, 3 sub-second digits and, no time zone.ISO date plus time format with a 'T" separating the date and time, 3 sub-second digits and, the time zone.ISO date plus time format with a 'T" separating the date and time, 6 sub-second digits and, no time zone.ISO date plus time format with a 'T" separating the date and time, 6 sub-second digits and, the time zone.ISO date plus time format with a 'T" separating the date and time, 9 sub-second digits and, no time zone.ISO date plus time format with a 'T" separating the date and time, 9 sub-second digits and, the time zone.Time only format with 0 sub-second digits and no time zone.Time only format with 0 sub-second digits and the time zone.Time only format with 3 sub-second digits and no time zone.Time only format with 3 sub-second digits and the time zone.Time only format with 6 sub-second digits and no time zone.Time only format with 6 sub-second digits and the time zone.Time only format with 9 sub-second digits and no time zone.Time only format with 9 sub-second digits and the time zone.Date plus time format with a space separating the date and time, 0 sub-second digits, and no time zone.Date plus time format with a space separating the date and time, 0 sub-second digits, and the time zone.Date plus time format with a space separating the date and time, 3 sub-second digits, and no time zone.Date plus time format with a space separating the date and time, 3 sub-second digits, and the time zone.Date plus time format with a space separating the date and time, 6 sub-second digits, and no time zone.Date plus time format with a space separating the date and time, 6 sub-second digits, and the time zone.Date plus time format with a space separating the date and time, 9 sub-second digits, and no time zone.Date plus time format with a space separating the date and time, 9 sub-second digits, and the time zone. -
Method Summary
Modifier and TypeMethodDescriptionGets the formatter.toString()
static DateTimeFormatters
Returns the enum constant of this class with the specified name.static DateTimeFormatters[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ISO9TZ
ISO date plus time format with a 'T" separating the date and time, 9 sub-second digits and, the time zone. -
ISO6TZ
ISO date plus time format with a 'T" separating the date and time, 6 sub-second digits and, the time zone. -
ISO3TZ
ISO date plus time format with a 'T" separating the date and time, 3 sub-second digits and, the time zone. -
ISO0TZ
ISO date plus time format with a 'T" separating the date and time, 0 sub-second digits and, the time zone. -
ISO9
ISO date plus time format with a 'T" separating the date and time, 9 sub-second digits and, no time zone. -
ISO6
ISO date plus time format with a 'T" separating the date and time, 6 sub-second digits and, no time zone. -
ISO3
ISO date plus time format with a 'T" separating the date and time, 3 sub-second digits and, no time zone. -
ISO0
ISO date plus time format with a 'T" separating the date and time, 0 sub-second digits and, no time zone. -
NONISO9TZ
Date plus time format with a space separating the date and time, 9 sub-second digits, and the time zone. -
NONISO6TZ
Date plus time format with a space separating the date and time, 6 sub-second digits, and the time zone. -
NONISO3TZ
Date plus time format with a space separating the date and time, 3 sub-second digits, and the time zone. -
NONISO0TZ
Date plus time format with a space separating the date and time, 0 sub-second digits, and the time zone. -
NONISO9
Date plus time format with a space separating the date and time, 9 sub-second digits, and no time zone. -
NONISO6
Date plus time format with a space separating the date and time, 6 sub-second digits, and no time zone. -
NONISO3
Date plus time format with a space separating the date and time, 3 sub-second digits, and no time zone. -
NONISO0
Date plus time format with a space separating the date and time, 0 sub-second digits, and no time zone. -
NODATE9TZ
Time only format with 9 sub-second digits and the time zone. -
NODATE6TZ
Time only format with 6 sub-second digits and the time zone. -
NODATE3TZ
Time only format with 3 sub-second digits and the time zone. -
NODATE0TZ
Time only format with 0 sub-second digits and the time zone. -
NODATE9
Time only format with 9 sub-second digits and no time zone. -
NODATE6
Time only format with 6 sub-second digits and no time zone. -
NODATE3
Time only format with 3 sub-second digits and no time zone. -
NODATE0
Time only format with 0 sub-second digits and no time zone. -
DATEONLYTZ
Date only format with the time zone. -
DATEONLY
Date only format.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getFormatter
Gets the formatter.- Returns:
- formatter.
-
toString
- Overrides:
toString
in classEnum<DateTimeFormatters>
-