@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public enum TemporalPreference extends Enum<TemporalPreference> implements BmcEnum
The valid set of temporal preference values.
Modifier and Type | Method and Description |
---|---|
static TemporalPreference |
create(String key) |
String |
getValue() |
static TemporalPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemporalPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemporalPreference Past
public static final TemporalPreference Future
public static final TemporalPreference Nearest
public static TemporalPreference[] values()
for (TemporalPreference c : TemporalPreference.values()) System.out.println(c);
public static TemporalPreference 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 static TemporalPreference create(String key)
Copyright © 2016–2024. All rights reserved.