public enum DayCount extends Enum<DayCount>
Used in combination with day to define the day in the month to start the backup group Run.
Specifies the day count in the month to start the backup.
For example if day count is set to 'THIRD' and day is set to 'MONDAY', a backup is performed on the third Monday of every month.
Enum Constant and Description |
---|
FIRST
Indicates that the first week should be chosen for specified day of every
month.
|
FOURTH
Indicates that the fourth week should be chosen for specified day of every
month.
|
LAST
Indicates that the last week should be chosen for specified day of every
month.
|
SECOND
Indicates that the second week should be chosen for specified day of every
month.
|
THIRD
Indicates that the third week should be chosen for specified day of every
month.
|
Modifier and Type | Method and Description |
---|---|
static DayCount |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayCount[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayCount FIRST
public static final DayCount SECOND
public static final DayCount THIRD
public static final DayCount FOURTH
public static final DayCount LAST
public static DayCount[] values()
for (DayCount c : DayCount.values()) System.out.println(c);
public static DayCount valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.