public enum PeriodUnitType extends Enum<PeriodUnitType>
| Modifier and Type | Method and Description |
|---|---|
String |
getBmrFormat() |
String |
getFormat() |
int |
getMaxValue() |
int |
getMinValue() |
String |
getPattern() |
Long |
getUnitInMs() |
static PeriodUnitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeriodUnitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeriodUnitType MINUTE
public static final PeriodUnitType HOUR
public static final PeriodUnitType DAY
public static PeriodUnitType[] values()
for (PeriodUnitType c : PeriodUnitType.values()) System.out.println(c);
public static PeriodUnitType 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 String getFormat()
public String getBmrFormat()
public String getPattern()
public Long getUnitInMs()
public int getMaxValue()
public int getMinValue()
Copyright © 2021. All rights reserved.