public static enum Entity.DURATION extends Enum<Entity.DURATION>
| Enum Constant and Description |
|---|
BDAY |
DAY |
HOUR |
MINUTE |
MONTH |
MS |
NS |
SECOND |
US |
WEEK |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static Entity.DURATION |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Entity.DURATION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Entity.DURATION NS
public static final Entity.DURATION US
public static final Entity.DURATION MS
public static final Entity.DURATION SECOND
public static final Entity.DURATION MINUTE
public static final Entity.DURATION HOUR
public static final Entity.DURATION DAY
public static final Entity.DURATION WEEK
public static final Entity.DURATION MONTH
public static final Entity.DURATION YEAR
public static final Entity.DURATION BDAY
public static Entity.DURATION[] values()
for (Entity.DURATION c : Entity.DURATION.values()) System.out.println(c);
public static Entity.DURATION 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 © 2022 DolphinDB. All rights reserved.