Skip navigation links
oracle.webservices.mdds
Enum TimezoneSetting
java.lang.Object
java.lang.Enum<TimezoneSetting>
oracle.webservices.mdds.TimezoneSetting
- All Implemented Interfaces:
- Serializable, Comparable<TimezoneSetting>
-
public enum TimezoneSetting
- extends Enum<TimezoneSetting>
GMT
public static final TimezoneSetting GMT
LOCAL
public static final TimezoneSetting LOCAL
OTHER
public static final TimezoneSetting OTHER
values
public static TimezoneSetting[] values()
- Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TimezoneSetting c : TimezoneSetting.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static TimezoneSetting valueOf(String name)
- Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
toString
public String toString()
-
- Overrides:
toString
in class Enum<TimezoneSetting>
setTimezonePrefThreadLocal
public static void setTimezonePrefThreadLocal(TimezoneSetting pref)
setTimezoneIdThreadLocal
public static void setTimezoneIdThreadLocal(String id)
getTimezonePrefThreadLocal
public static TimezoneSetting getTimezonePrefThreadLocal()
getTimezoneIdThreadLocal
public static String getTimezoneIdThreadLocal()
Skip navigation links