org.quartz
public static enum DateIntervalTrigger.IntervalUnit extends java.lang.Enum<DateIntervalTrigger.IntervalUnit>
Enum Constant and Description |
---|
DAY |
HOUR |
MINUTE |
MONTH |
SECOND |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
static DateIntervalTrigger.IntervalUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DateIntervalTrigger.IntervalUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateIntervalTrigger.IntervalUnit SECOND
public static final DateIntervalTrigger.IntervalUnit MINUTE
public static final DateIntervalTrigger.IntervalUnit HOUR
public static final DateIntervalTrigger.IntervalUnit DAY
public static final DateIntervalTrigger.IntervalUnit WEEK
public static final DateIntervalTrigger.IntervalUnit MONTH
public static final DateIntervalTrigger.IntervalUnit YEAR
public static DateIntervalTrigger.IntervalUnit[] values()
for (DateIntervalTrigger.IntervalUnit c : DateIntervalTrigger.IntervalUnit.values()) System.out.println(c);
public static DateIntervalTrigger.IntervalUnit 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 nullCopyright © 2014. All Rights Reserved.