Enum Class MonthlyDay
- All Implemented Interfaces:
Serializable
,Comparable<MonthlyDay>
,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic MonthlyDay
Returns the enum constant of this class with the specified name.static MonthlyDay[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INITIAL
The day of month from the startDate is used -
FIRST
The first day of the month is used -
SECOND
The second day of the month is used -
THIRD
The third day of the month is used -
FOURTH
The fourth day of the month is used -
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
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
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 nameNullPointerException
- if the argument is null
-