Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo.common
Class DefLocaleContext

java.lang.Object
  extended by oracle.jbo.common.DefLocaleContext
All Implemented Interfaces:
LocaleContext

public class DefLocaleContext
extends java.lang.Object
implements LocaleContext


Constructor Summary
DefLocaleContext()
           
DefLocaleContext(Locale locale, java.util.TimeZone tz)
           
 
Method Summary
 Locale getLocale()
          Retrieves the Locale.
 java.util.TimeZone getUserTimeZone()
          If configured in adf config, this method retrieves the the user's timezone preference.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefLocaleContext

public DefLocaleContext()

DefLocaleContext

public DefLocaleContext(Locale locale,
                        java.util.TimeZone tz)
Method Detail

getLocale

public Locale getLocale()
Description copied from interface: LocaleContext
Retrieves the Locale. In order to change the Locale, you must initialize it via the ApplicationModule.getSession().setLocale()

Specified by:
getLocale in interface LocaleContext

getUserTimeZone

public java.util.TimeZone getUserTimeZone()
Description copied from interface: LocaleContext
If configured in adf config, this method retrieves the the user's timezone preference.

Specified by:
getUserTimeZone in interface LocaleContext

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.