Enum Months

    • Enum Constant Detail

      • JAN

        public static final Months JAN
        Deprecated.
      • JANUARY

        public static final Months JANUARY
        Deprecated.
      • FEB

        public static final Months FEB
        Deprecated.
      • FEBRUARY

        public static final Months FEBRUARY
        Deprecated.
      • MAR

        public static final Months MAR
        Deprecated.
      • MARCH

        public static final Months MARCH
        Deprecated.
      • APR

        public static final Months APR
        Deprecated.
      • APRIL

        public static final Months APRIL
        Deprecated.
      • MAY

        public static final Months MAY
        Deprecated.
      • JUN

        public static final Months JUN
        Deprecated.
      • JUNE

        public static final Months JUNE
        Deprecated.
      • JUL

        public static final Months JUL
        Deprecated.
      • JULY

        public static final Months JULY
        Deprecated.
      • AUG

        public static final Months AUG
        Deprecated.
      • AUGUST

        public static final Months AUGUST
        Deprecated.
      • SEP

        public static final Months SEP
        Deprecated.
      • SEPTEMBER

        public static final Months SEPTEMBER
        Deprecated.
      • OCT

        public static final Months OCT
        Deprecated.
      • OCTOBER

        public static final Months OCTOBER
        Deprecated.
      • NOV

        public static final Months NOV
        Deprecated.
      • NOVEMBER

        public static final Months NOVEMBER
        Deprecated.
      • DEC

        public static final Months DEC
        Deprecated.
      • DECEMBER

        public static final Months DECEMBER
        Deprecated.
    • Method Detail

      • values

        public static Months[] values()
        Deprecated.
        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 (Months c : Months.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Months valueOf​(String name)
        Deprecated.
        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
      • fromCalendar

        public static Months fromCalendar​(int calendarMonth)
        Deprecated.
        Factory method to create a Months instance from a java calendar month value
      • calendarConstant

        public int calendarConstant()
        Deprecated.
      • describe

        public String describe()
        Deprecated.
      • month

        public Month month()
        Deprecated.