public enum CalendarType extends Enum<CalendarType>
| Enum Constant and Description |
|---|
FORTNIGHTLY |
FOURWEEKLY |
MONTHLY |
QUARTERLY |
TWICEMONTHLY |
WEEKLY |
| Modifier and Type | Method and Description |
|---|---|
static CalendarType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static CalendarType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarType WEEKLY
public static final CalendarType FORTNIGHTLY
public static final CalendarType FOURWEEKLY
public static final CalendarType MONTHLY
public static final CalendarType TWICEMONTHLY
public static final CalendarType QUARTERLY
public static CalendarType[] values()
for (CalendarType c : CalendarType.values()) System.out.println(c);
public static CalendarType 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 nullpublic String getValue()
public String toString()
toString in class Enum<CalendarType>public static CalendarType fromValue(String value)
Copyright © 2020. All rights reserved.