@PublicEvolving public enum TimePointUnit extends Enum<TimePointUnit> implements TableSymbol
Enum Constant and Description |
---|
DAY |
HOUR |
MICROSECOND |
MILLISECOND |
MINUTE |
MONTH |
QUARTER |
SECOND |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
static TimePointUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimePointUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimePointUnit YEAR
public static final TimePointUnit QUARTER
public static final TimePointUnit MONTH
public static final TimePointUnit WEEK
public static final TimePointUnit DAY
public static final TimePointUnit HOUR
public static final TimePointUnit MINUTE
public static final TimePointUnit SECOND
public static final TimePointUnit MILLISECOND
public static final TimePointUnit MICROSECOND
public static TimePointUnit[] values()
for (TimePointUnit c : TimePointUnit.values()) System.out.println(c);
public static TimePointUnit 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 nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.