|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.6.0) E10684-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.adf.view.rich.util.DateTimeUtils
public final class DateTimeUtils
Provides utilities for processing Date objects. Contains a list of commonly used timezones supplied by globalization, and methods to retrieve the translated timezone names for a timezone.
| Method Summary | |
|---|---|
static java.util.TimeZone |
getActualTimeZone(java.util.TimeZone tz)The entire time zone repository contains 500+ time zones. |
static java.util.List<javax.faces.model.SelectItem> |
getCommonTimeZoneSelectItems()Returns a list of commonly used timezones, sorted by the timezone's raw offset. |
static java.util.List<javax.faces.model.SelectItem> |
getCommonTimeZoneSelectItems(java.util.Locale loc, java.util.TimeZone addTimeZone)Returns a list of commonly used timezones, sorted by the timezone's raw offset. |
static java.util.List<javax.faces.model.SelectItem> |
getCommonTimeZoneSelectItems(java.lang.String timeZoneId)Returns a list of commonly used timezones, sorted by the timezone's raw offset. |
static java.lang.String |
getTimeZoneDisplayName(java.util.Locale loc, java.lang.String timezoneID) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<javax.faces.model.SelectItem> getCommonTimeZoneSelectItems()
public static java.util.List<javax.faces.model.SelectItem> getCommonTimeZoneSelectItems(java.lang.String timeZoneId)
timeZoneId - If the specified timezone with this id is not present in the common list, it will be inserted in raw offset order.
public static java.util.List<javax.faces.model.SelectItem> getCommonTimeZoneSelectItems(java.util.Locale loc,
java.util.TimeZone addTimeZone)
loc - Determines the locale/translations for the timezone namestzone - If the specified timezone is not present in the common list, it will be inserted in raw offset order.public static java.util.TimeZone getActualTimeZone(java.util.TimeZone tz)
tz - Timezone to check
public static java.lang.String getTimeZoneDisplayName(java.util.Locale loc,
java.lang.String timezoneID)
loc - Locale for display name of requested timezonetimezoneID - Requested TimeZone, should be one of Java's 500+ Timezones
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.6.0) E10684-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||