public enum PeriodUnit extends Enum<PeriodUnit>
| Enum Constant and Description |
|---|
DAY |
END_OF_FINANCIAL_MONTH |
END_OF_FINANCIAL_QUARTER |
END_OF_FINANCIAL_YEAR |
END_OF_MONTH |
END_OF_QUARTER |
END_OF_YEAR |
IMMEDIATELY |
MONTH |
NONE |
QUARTER |
WEEK |
XML_DURATION |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static PeriodUnit |
fromValue(String value) |
String |
toString() |
static PeriodUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeriodUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeriodUnit DAY
public static final PeriodUnit END_OF_FINANCIAL_MONTH
public static final PeriodUnit END_OF_FINANCIAL_QUARTER
public static final PeriodUnit END_OF_FINANCIAL_YEAR
public static final PeriodUnit END_OF_MONTH
public static final PeriodUnit END_OF_QUARTER
public static final PeriodUnit END_OF_YEAR
public static final PeriodUnit IMMEDIATELY
public static final PeriodUnit MONTH
public static final PeriodUnit NONE
public static final PeriodUnit QUARTER
public static final PeriodUnit WEEK
public static final PeriodUnit XML_DURATION
public static final PeriodUnit YEAR
public static PeriodUnit[] values()
for (PeriodUnit c : PeriodUnit.values()) System.out.println(c);
public static PeriodUnit 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 static final PeriodUnit fromValue(String value)
public String toString()
toString in class Enum<PeriodUnit>Copyright © 2005–2016 Alfresco Software. All rights reserved.