Enum Weekday

    • Enum Constant Detail

      • SUNDAY

        public static final Weekday SUNDAY
        Sunday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • MONDAY

        public static final Weekday MONDAY
        Monday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • TUESDAY

        public static final Weekday TUESDAY
        Tuesday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • WEDNESDAY

        public static final Weekday WEDNESDAY
        Wednesday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • THURSDAY

        public static final Weekday THURSDAY
        Thursday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • FRIDAY

        public static final Weekday FRIDAY
        Friday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • SATURDAY

        public static final Weekday SATURDAY
        Saturday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
    • Method Detail

      • getName

        public String getName()
        Returns:
        the English name of this weekday. E.g. Monday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • getShortName

        public String getShortName()
        Returns:
        the English short name of this weekday. E.g. Mo for Monday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • getLocalizedName

        public String getLocalizedName​(Locale locale)
        Parameters:
        locale - the locale used to localize the name, if null Locale.getDefault() is used.
        Returns:
        the localized name of the weekday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • getShortLocalizedName

        public String getShortLocalizedName​(Locale locale)
        Parameters:
        locale - the locale used to localize the name, if null Locale.getDefault() is used.
        Returns:
        the short localized name of the weekday
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.
      • getCurrentWeekday

        public static Weekday getCurrentWeekday()
        Gets the weekday of the current day
        Returns:
        the current weekday. Never null.
        API:
        This public API is available in IvyScript and Java. It has the visibility NOVICE.