Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.mdds
Enum TimezoneSetting

java.lang.Object
  extended by java.lang.Enum<TimezoneSetting>
      extended by oracle.webservices.mdds.TimezoneSetting

All Implemented Interfaces:
Serializable, Comparable<TimezoneSetting>

public enum TimezoneSetting
extends Enum<TimezoneSetting>

Enum Constant Summary
GMT
           
LOCAL
           
OTHER
           

 

Method Summary
static String getTimezoneIdThreadLocal()
           
static TimezoneSetting getTimezonePrefThreadLocal()
           
static void setTimezoneIdThreadLocal(String id)
           
static void setTimezonePrefThreadLocal(TimezoneSetting pref)
           
 String toString()
           
static TimezoneSetting valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TimezoneSetting[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

GMT

public static final TimezoneSetting GMT

LOCAL

public static final TimezoneSetting LOCAL

OTHER

public static final TimezoneSetting OTHER

Method Detail

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

Copyright © 2006, 2009 Oracle. All Rights Reserved.