public enum TimeProvisionType extends Enum<TimeProvisionType>
Modes of artificial time operation
| Enum Constant and Description |
|---|
Incrementing
Increments time 1 second per each call
|
Static
Always same time for every time request from time provider
|
| Modifier and Type | Method and Description |
|---|---|
static TimeProvisionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeProvisionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeProvisionType Static
Always same time for every time request from time provider
public static final TimeProvisionType Incrementing
Increments time 1 second per each call
public static TimeProvisionType[] values()
for (TimeProvisionType c : TimeProvisionType.values()) System.out.println(c);
public static TimeProvisionType 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 (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.