Enum Class TimedType

java.lang.Object
java.lang.Enum<TimedType>
us.ajg0702.leaderboards.boards.TimedType
All Implemented Interfaces:
Serializable, Comparable<TimedType>, Constable

public enum TimedType extends Enum<TimedType>
  • Enum Constant Details

    • ALLTIME

      public static final TimedType ALLTIME
    • HOURLY

      public static final TimedType HOURLY
    • DAILY

      public static final TimedType DAILY
    • WEEKLY

      public static final TimedType WEEKLY
    • MONTHLY

      public static final TimedType MONTHLY
    • YEARLY

      public static final TimedType YEARLY
  • Method Details

    • values

      public static TimedType[] 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 TimedType 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
    • lowerName

      public String lowerName()
    • lowerNames

      public static List<String> lowerNames()
    • setWeeklyResetDay

      public static void setWeeklyResetDay(DayOfWeek dayOfWeek)
    • getNextReset

      public LocalDateTime getNextReset()
    • getEstimatedLastReset

      public LocalDateTime getEstimatedLastReset()
    • of

      public static TimedType of(String string)