public enum ImportIntervalUnit extends Enum<ImportIntervalUnit>
Enum Constant and Description |
---|
DAY |
HOUR |
MINUTE |
MONTH |
QUARTER |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
int |
getMinutes()
Returns the number of minutes in this time unit.
|
static ImportIntervalUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportIntervalUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportIntervalUnit MINUTE
public static final ImportIntervalUnit HOUR
public static final ImportIntervalUnit DAY
public static final ImportIntervalUnit WEEK
public static final ImportIntervalUnit MONTH
public static final ImportIntervalUnit QUARTER
public static final ImportIntervalUnit YEAR
public static ImportIntervalUnit[] values()
for (ImportIntervalUnit c : ImportIntervalUnit.values()) System.out.println(c);
public static ImportIntervalUnit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getMinutes()
Copyright © 2014. All rights reserved.