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

E10653-04

oracle.jbo
Interface LocaleContext

All Known Implementing Classes:
DefLocaleContext

public interface LocaleContext

This class represents the LocalContext used as part of the formatting and UI hints support. This class is used to retrieve the current Locale for the ApplicationModule's session.


Method Summary
 java.util.Locale getLocale()
          Retrieves the Locale.
 java.util.TimeZone getUserTimeZone()
          If configured in adf config, this method retrieves the the user's timezone preference.
 

Method Detail

getLocale

java.util.Locale getLocale()
Retrieves the Locale. In order to change the Locale, you must initialize it via the ApplicationModule.getSession().setLocale()


getUserTimeZone

java.util.TimeZone getUserTimeZone()
If configured in adf config, this method retrieves the the user's timezone preference.


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

E10653-04

Copyright © 1997, 2010, Oracle. All rights reserved.