Enum EPresetTemporalFormatStyle

java.lang.Object
java.lang.Enum<EPresetTemporalFormatStyle>
de.xima.fc.common.time.EPresetTemporalFormatStyle
All Implemented Interfaces:
Serializable, Comparable<EPresetTemporalFormatStyle>

public enum EPresetTemporalFormatStyle extends Enum<EPresetTemporalFormatStyle>
Presets styles for formatting temporal objects like dates and times, see IPresetTemporalFormatter.
Since:
8.4.0
  • Enum Constant Details

    • DATE_SHORT

      public static final EPresetTemporalFormatStyle DATE_SHORT
      Short date format, e.g. "01/01, 2020"
    • DATE_MEDIUM

      public static final EPresetTemporalFormatStyle DATE_MEDIUM
      Medium date format, e.g. "Jan 1st, 2020"
    • DATE_LONG

      public static final EPresetTemporalFormatStyle DATE_LONG
      Long date format, e.g. "January 1st, 2020"
    • DATE_FULL

      public static final EPresetTemporalFormatStyle DATE_FULL
      Full date format, e.g. "Wednesday, January 1st, 2020"
    • TIME_SHORT

      public static final EPresetTemporalFormatStyle TIME_SHORT
      Short time format, e.g. "12:00 PM"
    • TIME_MEDIUM

      public static final EPresetTemporalFormatStyle TIME_MEDIUM
      Medium time format, e.g. "12:00:00 PM"
    • TIME_LONG

      public static final EPresetTemporalFormatStyle TIME_LONG
      Long time format, e.g. "12:00:00 PM GMT+1"
    • TIME_FULL

      public static final EPresetTemporalFormatStyle TIME_FULL
      Full time format, e.g. "12:00:00 PM GMT+01:00"
    • DATE_TIME_SHORT

      public static final EPresetTemporalFormatStyle DATE_TIME_SHORT
      Short date and time format, e.g. "01/01, 2020 12:00 PM"
    • DATE_TIME_MEDIUM

      public static final EPresetTemporalFormatStyle DATE_TIME_MEDIUM
      Medium date and time format, e.g. "Jan 1st, 2020 12:00 PM"
    • DATE_TIME_LONG

      public static final EPresetTemporalFormatStyle DATE_TIME_LONG
      Long date and time format, e.g. "January 1st, 2020 12:00:00 PM"
    • DATE_TIME_FULL

      public static final EPresetTemporalFormatStyle DATE_TIME_FULL
      Full date and time format, e.g. "Wednesday, January 1st, 2020 12:00:00 PM GMT+01:00"
    • DATE_SHORT_TIME_SHORT

      public static final EPresetTemporalFormatStyle DATE_SHORT_TIME_SHORT
      Short date with short time format, e.g. "01/01, 2020 12:00 PM"
    • DATE_SHORT_TIME_MEDIUM

      public static final EPresetTemporalFormatStyle DATE_SHORT_TIME_MEDIUM
      Short date with medium time format, e.g. "01/01, 2020 12:00:00 PM"
    • DATE_SHORT_TIME_LONG

      public static final EPresetTemporalFormatStyle DATE_SHORT_TIME_LONG
      Short date with long time format, e.g. "01/01, 2020 12:00:00 PM GMT+1"
    • DATE_SHORT_TIME_FULL

      public static final EPresetTemporalFormatStyle DATE_SHORT_TIME_FULL
      Short date with full time format, e.g. "01/01, 2020 12:00:00 PM GMT+01:00"
    • DATE_MEDIUM_TIME_SHORT

      public static final EPresetTemporalFormatStyle DATE_MEDIUM_TIME_SHORT
      Medium date with short time format, e.g. "Jan 1st, 2020 12:00 PM"
    • DATE_MEDIUM_TIME_MEDIUM

      public static final EPresetTemporalFormatStyle DATE_MEDIUM_TIME_MEDIUM
      Medium date with medium time format, e.g. "Jan 1st, 2020 12:00:00 PM"
    • DATE_MEDIUM_TIME_LONG

      public static final EPresetTemporalFormatStyle DATE_MEDIUM_TIME_LONG
      Medium date with long time format, e.g. "Jan 1st, 2020 12:00:00 PM GMT+1"
    • DATE_MEDIUM_TIME_FULL

      public static final EPresetTemporalFormatStyle DATE_MEDIUM_TIME_FULL
      Medium date with full time format, e.g. "Jan 1st, 2020 12:00:00 PM GMT+01:00"
    • DATE_LONG_TIME_SHORT

      public static final EPresetTemporalFormatStyle DATE_LONG_TIME_SHORT
      Long date with short time format, e.g. "January 1st, 2020 12:00 PM"
    • DATE_LONG_TIME_MEDIUM

      public static final EPresetTemporalFormatStyle DATE_LONG_TIME_MEDIUM
      Long date with medium time format, e.g. "January 1st, 2020 12:00:00 PM"
    • DATE_LONG_TIME_LONG

      public static final EPresetTemporalFormatStyle DATE_LONG_TIME_LONG
      Long date with long time format, e.g. "January 1st, 2020 12:00:00 PM GMT+1"
    • DATE_LONG_TIME_FULL

      public static final EPresetTemporalFormatStyle DATE_LONG_TIME_FULL
      Long date with full time format, e.g. "January 1st, 2020 12:00:00 PM GMT+01:00"
    • DATE_FULL_TIME_SHORT

      public static final EPresetTemporalFormatStyle DATE_FULL_TIME_SHORT
      Full date with short time format, e.g. "Wednesday, January 1st, 2020 12:00 PM"
    • DATE_FULL_TIME_MEDIUM

      public static final EPresetTemporalFormatStyle DATE_FULL_TIME_MEDIUM
      Full date with medium time format, e.g. "Wednesday, January 1st, 2020 12:00:00 PM"
    • DATE_FULL_TIME_LONG

      public static final EPresetTemporalFormatStyle DATE_FULL_TIME_LONG
      Full date with long time format, e.g. "Wednesday, January 1st, 2020 12:00:00 PM GMT+1"
    • DATE_FULL_TIME_FULL

      public static final EPresetTemporalFormatStyle DATE_FULL_TIME_FULL
      Full date with full time format, e.g. "Wednesday, January 1st, 2020 12:00:00 PM GMT+01:00"
  • Method Details

    • values

      public static EPresetTemporalFormatStyle[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EPresetTemporalFormatStyle valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null