public static enum FakeTimeUtils.Advance extends Enum<FakeTimeUtils.Advance>
TimeUtils.currentTimeMillis()
is invoked.Enum Constant and Description |
---|
AUTO_10
Automatically advance the time by 10 milliseconds.
|
MANUAL
Do not advance the time.
|
Modifier and Type | Method and Description |
---|---|
static FakeTimeUtils.Advance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FakeTimeUtils.Advance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FakeTimeUtils.Advance AUTO_10
public static final FakeTimeUtils.Advance MANUAL
FakeTimeUtils.advanceMs(long)
.public static FakeTimeUtils.Advance[] values()
for (FakeTimeUtils.Advance c : FakeTimeUtils.Advance.values()) System.out.println(c);
public static FakeTimeUtils.Advance 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 © 2015. All Rights Reserved.