public enum DayCountInterval extends java.lang.Enum<DayCountInterval>
| Enum Constant and Description |
|---|
ONE_DAY |
ONE_MONTH |
ONE_WEEK |
TWO_DAYS |
TWO_MONTHS |
TWO_WEEKS |
| Modifier and Type | Method and Description |
|---|---|
static DayCountInterval |
fromString(java.lang.String value)
Tries to match the given string to an actual
DayCountInterval enum value |
java.lang.String |
getValue() |
static DayCountInterval |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DayCountInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayCountInterval ONE_DAY
public static final DayCountInterval TWO_DAYS
public static final DayCountInterval ONE_WEEK
public static final DayCountInterval TWO_WEEKS
public static final DayCountInterval ONE_MONTH
public static final DayCountInterval TWO_MONTHS
public static DayCountInterval[] values()
for (DayCountInterval c : DayCountInterval.values()) System.out.println(c);
public static DayCountInterval valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
public static DayCountInterval fromString(java.lang.String value)
DayCountInterval enum valuevalue - String representing the day conut intervalDayCountInterval object if the match is successful or null if no match is foundCopyright © 2010 - 2023 Adobe. All Rights Reserved