public static enum FrequencyController.Keys extends java.lang.Enum<FrequencyController.Keys>
Enum Constant and Description |
---|
per10min |
per10sec |
per1day |
per1hour |
per1min |
per1month |
per1sec |
per1year |
Modifier and Type | Field and Description |
---|---|
private int |
seconds |
Modifier and Type | Method and Description |
---|---|
java.util.GregorianCalendar |
getEndTime(long time) |
java.util.GregorianCalendar |
getStartTime(long time) |
static FrequencyController.Keys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FrequencyController.Keys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrequencyController.Keys per1sec
public static final FrequencyController.Keys per10sec
public static final FrequencyController.Keys per1min
public static final FrequencyController.Keys per10min
public static final FrequencyController.Keys per1hour
public static final FrequencyController.Keys per1day
public static final FrequencyController.Keys per1month
public static final FrequencyController.Keys per1year
public static FrequencyController.Keys[] values()
for (FrequencyController.Keys c : FrequencyController.Keys.values()) System.out.println(c);
public static FrequencyController.Keys 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.util.GregorianCalendar getStartTime(long time)
public java.util.GregorianCalendar getEndTime(long time)
Copyright 2004-2015 Wandora Team