|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | PROPERTY | METHOD | DETAIL: ENUM CONSTANTS | FIELD | PROPERTY | METHOD |
java.lang.Object com.ace.mws.enums.TimeWindow
enum TimeWindow
This enumeration represents some common time windows. It can be used when for many purposes, but was created specifically for statistics.
Enum Constant Summary | |
---|---|
DAY
|
|
HOUR
|
|
INFINITY
|
|
MINUTE
|
|
MONTH
|
|
WEEK
|
|
YEAR
|
Property Summary | |
---|---|
Integer |
calendarValue
The undefined value for number of days. |
Integer |
numberOfDays
The number of days represented in the TimeWindow enum value. |
Integer |
numberOfSeconds
The number of seconds represented in the TimeWindow enum value. |
String |
str
The human readable string. |
Constructor Summary | |
TimeWindow(Integer calendarValue, Integer numberOfSeconds, String str)
|
Method Summary | |
---|---|
static TimeWindow
|
parse(String time)
|
TimeWindow
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
TimeWindow[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Enum Constant Detail |
---|
TimeWindow DAY
TimeWindow HOUR
TimeWindow INFINITY
TimeWindow MINUTE
TimeWindow MONTH
TimeWindow WEEK
TimeWindow YEAR
Property Detail |
---|
Integer calendarValue
Integer numberOfDays
Integer numberOfSeconds
String str
Constructor Detail |
---|
TimeWindow(Integer calendarValue, Integer numberOfSeconds, String str)
Method Detail |
---|
static TimeWindow parse(String time)
TimeWindow valueOf(String name)
TimeWindow[] values()
Groovy Documentation