Enum Class DayOfWeekName

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

public enum DayOfWeekName extends Enum<DayOfWeekName>
Enum representing the days of the week, providing both full and abbreviated names.

Each day is associated with its short name (abbreviation) and full name. This enum also includes utility methods to map from a Calendar day constant to a DayOfWeekName.

Since:
19.0
  • Enum Constant Details

  • Method Details

    • values

      public static DayOfWeekName[] 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 DayOfWeekName 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()
    • fromCalendarDay

      public static DayOfWeekName fromCalendarDay(int calendarDay)