Enum BasicTimeZone.LocalOption

    • Enum Constant Detail

      • FORMER

        public static final BasicTimeZone.LocalOption FORMER
        An input time is always interpreted as local time before a time zone transition.
        Status:
        Stable ICU 69.
      • LATTER

        public static final BasicTimeZone.LocalOption LATTER
        An input time is always interpreted as local time after a time zone transition.
        Status:
        Stable ICU 69.
      • STANDARD_FORMER

        public static final BasicTimeZone.LocalOption STANDARD_FORMER
        An input time is interpreted as standard time when local time is switched to/from daylight saving time. When both sides of a time zone transition are standard time, or daylight saving time, the local time before the transition is used.
        Status:
        Stable ICU 69.
      • STANDARD_LATTER

        public static final BasicTimeZone.LocalOption STANDARD_LATTER
        An input time is interpreted as standard time when local time is switched to/from daylight saving time. When both sides of a time zone transition are standard time, or daylight saving time, the local time after the transition is used.
        Status:
        Stable ICU 69.
      • DAYLIGHT_FORMER

        public static final BasicTimeZone.LocalOption DAYLIGHT_FORMER
        An input time is interpreted as daylight saving time when local time is switched to/from standard time. When both sides of a time zone transition are standard time, or daylight saving time, the local time before the transition is used.
        Status:
        Stable ICU 69.
      • DAYLIGHT_LATTER

        public static final BasicTimeZone.LocalOption DAYLIGHT_LATTER
        An input time is interpreted as daylight saving time when local time is switched to/from standard time. When both sides of a time zone transition are standard time, or daylight saving time, the local time after the transition is used.
        Status:
        Stable ICU 69.
    • Method Detail

      • values

        public static BasicTimeZone.LocalOption[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BasicTimeZone.LocalOption c : BasicTimeZone.LocalOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BasicTimeZone.LocalOption 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