Enum Class DateTimeFormatters

java.lang.Object
java.lang.Enum<DateTimeFormatters>
io.deephaven.time.DateTimeFormatters
All Implemented Interfaces:
Serializable, Comparable<DateTimeFormatters>, java.lang.constant.Constable

public enum DateTimeFormatters extends Enum<DateTimeFormatters>
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 Constants
    Enum Constant
    Description
    Date 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 Type
    Method
    Description
    Gets the formatter.
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ISO9TZ

      public static final DateTimeFormatters ISO9TZ
      ISO date plus time format with a 'T" separating the date and time, 9 sub-second digits and, the time zone.
    • ISO6TZ

      public static final DateTimeFormatters ISO6TZ
      ISO date plus time format with a 'T" separating the date and time, 6 sub-second digits and, the time zone.
    • ISO3TZ

      public static final DateTimeFormatters ISO3TZ
      ISO date plus time format with a 'T" separating the date and time, 3 sub-second digits and, the time zone.
    • ISO0TZ

      public static final DateTimeFormatters ISO0TZ
      ISO date plus time format with a 'T" separating the date and time, 0 sub-second digits and, the time zone.
    • ISO9

      public static final DateTimeFormatters ISO9
      ISO date plus time format with a 'T" separating the date and time, 9 sub-second digits and, no time zone.
    • ISO6

      public static final DateTimeFormatters ISO6
      ISO date plus time format with a 'T" separating the date and time, 6 sub-second digits and, no time zone.
    • ISO3

      public static final DateTimeFormatters ISO3
      ISO date plus time format with a 'T" separating the date and time, 3 sub-second digits and, no time zone.
    • ISO0

      public static final DateTimeFormatters ISO0
      ISO date plus time format with a 'T" separating the date and time, 0 sub-second digits and, no time zone.
    • NONISO9TZ

      public static final DateTimeFormatters NONISO9TZ
      Date plus time format with a space separating the date and time, 9 sub-second digits, and the time zone.
    • NONISO6TZ

      public static final DateTimeFormatters NONISO6TZ
      Date plus time format with a space separating the date and time, 6 sub-second digits, and the time zone.
    • NONISO3TZ

      public static final DateTimeFormatters NONISO3TZ
      Date plus time format with a space separating the date and time, 3 sub-second digits, and the time zone.
    • NONISO0TZ

      public static final DateTimeFormatters NONISO0TZ
      Date plus time format with a space separating the date and time, 0 sub-second digits, and the time zone.
    • NONISO9

      public static final DateTimeFormatters NONISO9
      Date plus time format with a space separating the date and time, 9 sub-second digits, and no time zone.
    • NONISO6

      public static final DateTimeFormatters NONISO6
      Date plus time format with a space separating the date and time, 6 sub-second digits, and no time zone.
    • NONISO3

      public static final DateTimeFormatters NONISO3
      Date plus time format with a space separating the date and time, 3 sub-second digits, and no time zone.
    • NONISO0

      public static final DateTimeFormatters NONISO0
      Date plus time format with a space separating the date and time, 0 sub-second digits, and no time zone.
    • NODATE9TZ

      public static final DateTimeFormatters NODATE9TZ
      Time only format with 9 sub-second digits and the time zone.
    • NODATE6TZ

      public static final DateTimeFormatters NODATE6TZ
      Time only format with 6 sub-second digits and the time zone.
    • NODATE3TZ

      public static final DateTimeFormatters NODATE3TZ
      Time only format with 3 sub-second digits and the time zone.
    • NODATE0TZ

      public static final DateTimeFormatters NODATE0TZ
      Time only format with 0 sub-second digits and the time zone.
    • NODATE9

      public static final DateTimeFormatters NODATE9
      Time only format with 9 sub-second digits and no time zone.
    • NODATE6

      public static final DateTimeFormatters NODATE6
      Time only format with 6 sub-second digits and no time zone.
    • NODATE3

      public static final DateTimeFormatters NODATE3
      Time only format with 3 sub-second digits and no time zone.
    • NODATE0

      public static final DateTimeFormatters NODATE0
      Time only format with 0 sub-second digits and no time zone.
    • DATEONLYTZ

      public static final DateTimeFormatters DATEONLYTZ
      Date only format with the time zone.
    • DATEONLY

      public static final DateTimeFormatters DATEONLY
      Date only format.
  • Method Details

    • values

      public static DateTimeFormatters[] 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

      public static DateTimeFormatters valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getFormatter

      public DateTimeFormatter getFormatter()
      Gets the formatter.
      Returns:
      formatter.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DateTimeFormatters>