@ThreadSafe public enum DateTimeConverter extends Enum<DateTimeConverter>
| Enum Constant and Description |
|---|
JAR
This instance applies the schedule for Daylight Saving Time (DST),
i.e. all time conversions will apply DST where appropriate to a
particular date.
|
ZIP
This instance ignores the schedule for Daylight Saving Time (DST),
i.e. all time conversions will use the same raw offset and current
DST savings, regardless of whether DST savings should be applied to
a particular date or not.
|
| Modifier and Type | Method and Description |
|---|---|
static DateTimeConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeConverter JAR
This behaviour provides best interoperability with:
jar utility
and java.util.zip packageunzippublic static final DateTimeConverter ZIP
This behavior provides best interoperability with:
public static DateTimeConverter 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 DateTimeConverter[] values()
for (DateTimeConverter c : DateTimeConverter.values()) System.out.println(c);
Copyright © 2005–2013 Schlichtherle IT Services. All rights reserved.