public enum TimeBasedContext extends Enum<TimeBasedContext>
| Enum Constant and Description |
|---|
HISTORICAL
The date used lies in the past.
|
PRESENT
The date used lies in the present or there is no date.
|
| Modifier and Type | Method and Description |
|---|---|
static TimeBasedContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeBasedContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeBasedContext HISTORICAL
public static final TimeBasedContext PRESENT
public static TimeBasedContext[] values()
for (TimeBasedContext c : TimeBasedContext.values()) System.out.println(c);
public static TimeBasedContext 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 © 1998–2024 Apryse Group NV. All rights reserved.