Enum Class MonthName

java.lang.Object
java.lang.Enum<MonthName>
overit.geocallapp.utilities.ux.ui.util.date.MonthName
All Implemented Interfaces:
Serializable, Comparable<MonthName>, Constable

public enum MonthName extends Enum<MonthName>
Enum representing the months of a year, providing both full and abbreviated names.

Each month is associated with its short name (abbreviation) and full name.

Since:
19.0
  • Enum Constant Details

    • JANUARY

      public static final MonthName JANUARY
    • FEBRUARY

      public static final MonthName FEBRUARY
    • MARCH

      public static final MonthName MARCH
    • APRIL

      public static final MonthName APRIL
    • MAY

      public static final MonthName MAY
    • JUNE

      public static final MonthName JUNE
    • JULY

      public static final MonthName JULY
    • AUGUST

      public static final MonthName AUGUST
    • SEPTEMBER

      public static final MonthName SEPTEMBER
    • OCTOBER

      public static final MonthName OCTOBER
    • NOVEMBER

      public static final MonthName NOVEMBER
    • DECEMBER

      public static final MonthName DECEMBER
    • UNKNOWN

      public static final MonthName UNKNOWN
  • Method Details

    • values

      public static MonthName[] 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 MonthName 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
    • getShortName

      public String getShortName()
    • getFullName

      public String getFullName()
    • fromCalendarMonth

      public static MonthName fromCalendarMonth(int calendarMonth)