|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c (12.1.2) E23185-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.rich.util.DateCustomizer
public abstract class DateCustomizer
The DateCustomizer class allows customization of dates such as formatting dates to Strings.
Constructor Summary | |
---|---|
DateCustomizer() |
Method Summary | |
---|---|
abstract String |
format(Date date, String key, Locale locale, TimeZone tz) The format method formats a date based on a key. |
String |
formatRange(Date startDate, Date endDate, String key, Locale locale, TimeZone tz) The format method formats a date range based on a key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateCustomizer()
Method Detail |
---|
public abstract String format(Date date, String key, Locale locale, TimeZone tz)
The format method of a hypothetical subclass of DateFormatter might do the following with the date December 25, 2008:
date
- the date to formatkey
- the key that indicates what type of return value is expected.locale
- the current localetz
- the current timezonepublic String formatRange(Date startDate, Date endDate, String key, Locale locale, TimeZone tz)
The format method of a hypothetical subclass of DateFormatter might do the following with the start date December 25, 2008 and end date January 1, 2009:
startDate
- the date to formatendDate
- the date to formatkey
- the key that indicates what type of return value is expected.locale
- the current localetz
- the current timezone
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c (12.1.2) E23185-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2013 Oracle Corporation. All Rights Reserved.