static enum PrecipitationTotal.Interval extends java.lang.Enum<PrecipitationTotal.Interval>
Enum Constant and Description |
---|
annually
Reset rain reference file annually.
|
daily
Reset rain reference file daily.
|
manual
Reset rain reference file manually.
|
monthly
Reset rain reference file monthly.
|
weekly
Reset rain reference file weekly.
|
Modifier and Type | Field and Description |
---|---|
private int |
interval
Update interval in milliseconds.
|
private long |
lifetime
Milliseconds for reference file to remain valid.
|
private int |
selector
Calendar field selector.
|
private int |
trigger
Trigger update time (days or hours).
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
schedule(int trigger)
Schedules the next trigger for each enum type.
|
static PrecipitationTotal.Interval |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrecipitationTotal.Interval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrecipitationTotal.Interval annually
public static final PrecipitationTotal.Interval monthly
public static final PrecipitationTotal.Interval weekly
public static final PrecipitationTotal.Interval manual
public static final PrecipitationTotal.Interval daily
private final long lifetime
private final int selector
private int interval
private int trigger
public static PrecipitationTotal.Interval[] values()
for (PrecipitationTotal.Interval c : PrecipitationTotal.Interval.values()) System.out.println(c);
public static PrecipitationTotal.Interval 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 nullint schedule(int trigger)
trigger
- (days or hours).