|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TimePeriodType>
org.xwiki.chart.time.TimePeriodType
public enum TimePeriodType
Enumeration of supported time period types.
| Enum Constant Summary | |
|---|---|
DAY
A day. |
|
HOUR
Hour. |
|
MILLISECOND
Millisecond. |
|
MINUTE
Minute. |
|
MONTH
Month. |
|
QUARTER
Qarter of a year. |
|
SECOND
Second. |
|
SIMPLE
A simple (irregular) time period. |
|
WEEK
Week. |
|
YEAR
Year. |
|
| Method Summary | |
|---|---|
static TimePeriodType |
forName(String name)
|
String |
getName()
|
static TimePeriodType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TimePeriodType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TimePeriodType MILLISECOND
public static final TimePeriodType SECOND
public static final TimePeriodType MINUTE
public static final TimePeriodType HOUR
public static final TimePeriodType DAY
public static final TimePeriodType WEEK
public static final TimePeriodType MONTH
public static final TimePeriodType QUARTER
public static final TimePeriodType YEAR
public static final TimePeriodType SIMPLE
| Method Detail |
|---|
public static TimePeriodType[] values()
for (TimePeriodType c : TimePeriodType.values()) System.out.println(c);
public static TimePeriodType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getName()
public static TimePeriodType forName(String name)
name - A plot type.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||