public static enum HiLowIndicator.Units extends Enum<HiLowIndicator.Units>
Modifier and Type | Field and Description |
---|---|
static int[] |
indexes |
static String[] |
names |
Modifier and Type | Method and Description |
---|---|
int |
getCalendarField() |
int |
getMax() |
Period |
getPeriod() |
static HiLowIndicator.Units |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiLowIndicator.Units[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiLowIndicator.Units HOURS
public static final HiLowIndicator.Units DAYS
public static final HiLowIndicator.Units WEEKS
public static final HiLowIndicator.Units MONTHS
public static int[] indexes
public static String[] names
public static HiLowIndicator.Units[] values()
for (HiLowIndicator.Units c : HiLowIndicator.Units.values()) System.out.println(c);
public static HiLowIndicator.Units 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 getMax()
public Period getPeriod()
public int getCalendarField()
Copyright © 2016. All rights reserved.