Enum Class MonthlyDay

java.lang.Object
java.lang.Enum<MonthlyDay>
com.inet.taskplanner.server.api.trigger.time.MonthlyDay
All Implemented Interfaces:
Serializable, Comparable<MonthlyDay>, Constable

public enum MonthlyDay extends Enum<MonthlyDay>
For a monthly repeat interval this determines the day of the month for the execution.

Since taskplanner 22.4 this is also used for the custom repeat interval with monthly rhythm.

Since:
taskplanner 3.0
  • Enum Constant Details

    • INITIAL

      public static final MonthlyDay INITIAL
      The day of month from the startDate is used
    • FIRST

      public static final MonthlyDay FIRST
      The first day of the month is used
    • SECOND

      public static final MonthlyDay SECOND
      The second day of the month is used
    • THIRD

      public static final MonthlyDay THIRD
      The third day of the month is used
    • FOURTH

      public static final MonthlyDay FOURTH
      The fourth day of the month is used
    • LAST

      public static final MonthlyDay LAST
      The last day of the month is used. This is always the last day, not depending on how many days the month has.
  • Method Details

    • values

      public static MonthlyDay[] 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 MonthlyDay 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