public static enum BasicTimeZone.LocalOption extends Enum<BasicTimeZone.LocalOption>
BasicTimeZone.getOffsetFromLocal(long, LocalOption, LocalOption, int[])
to specify how to interpret an input time when it does not exist, or when it is ambiguous,
around a time zone transition.Enum Constant and Description |
---|
DAYLIGHT_FORMER
An input time is interpreted as daylight saving time when
local time is switched to/from standard time.
|
DAYLIGHT_LATTER
An input time is interpreted as daylight saving time when
local time is switched to/from standard time.
|
FORMER
An input time is always interpreted as local time before
a time zone transition.
|
LATTER
An input time is always interpreted as local time after
a time zone transition.
|
STANDARD_FORMER
An input time is interpreted as standard time when local
time is switched to/from daylight saving time.
|
STANDARD_LATTER
An input time is interpreted as standard time when local
time is switched to/from daylight saving time.
|
Modifier and Type | Method and Description |
---|---|
static BasicTimeZone.LocalOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BasicTimeZone.LocalOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BasicTimeZone.LocalOption FORMER
public static final BasicTimeZone.LocalOption LATTER
public static final BasicTimeZone.LocalOption STANDARD_FORMER
public static final BasicTimeZone.LocalOption STANDARD_LATTER
public static final BasicTimeZone.LocalOption DAYLIGHT_FORMER
public static final BasicTimeZone.LocalOption DAYLIGHT_LATTER
public static BasicTimeZone.LocalOption[] values()
for (BasicTimeZone.LocalOption c : BasicTimeZone.LocalOption.values()) System.out.println(c);
public static BasicTimeZone.LocalOption 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 © 2016 Unicode, Inc. and others.