public class IlvWrappedICUDateFormat extends DateFormat
IlvDateFormat
,
Serialized FormDateFormat.Field
AM_PM_FIELD, calendar, DATE_FIELD, DAY_OF_WEEK_FIELD, DAY_OF_WEEK_IN_MONTH_FIELD, DAY_OF_YEAR_FIELD, DEFAULT, ERA_FIELD, FULL, HOUR_OF_DAY0_FIELD, HOUR_OF_DAY1_FIELD, HOUR0_FIELD, HOUR1_FIELD, LONG, MEDIUM, MILLISECOND_FIELD, MINUTE_FIELD, MONTH_FIELD, numberFormat, SECOND_FIELD, SHORT, TIMEZONE_FIELD, WEEK_OF_MONTH_FIELD, WEEK_OF_YEAR_FIELD, YEAR_FIELD
Constructor and Description |
---|
IlvWrappedICUDateFormat(DateFormat delegate)
Creates a
DateFormat that delegates to an ICU
DateFormat . |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Overridden version of the same method of
DateFormat . |
boolean |
equals(Object o)
Overridden version of the same method of
DateFormat . |
StringBuffer |
format(Date date,
StringBuffer toAppendTo,
FieldPosition fieldPosition)
Overridden version of the same method of
DateFormat . |
Calendar |
getCalendar()
Overridden version of the same method of
DateFormat . |
NumberFormat |
getNumberFormat()
Overridden version of the same method of
DateFormat . |
TimeZone |
getTimeZone()
Overridden version of the same method of
DateFormat . |
DateFormat |
getUnderlyingICUFormat()
Returns the underlying ICU DateFormat instance.
|
int |
hashCode()
Overridden version of the same method of
DateFormat . |
boolean |
isLenient()
Overridden version of the same method of
DateFormat . |
Date |
parse(String source)
Overridden version of the same method of
DateFormat . |
Date |
parse(String source,
ParsePosition pos)
Overridden version of the same method of
DateFormat . |
Object |
parseObject(String source,
ParsePosition pos)
Overridden version of the same method of
DateFormat . |
void |
setCalendar(Calendar newCalendar)
Overridden version of the same method of
DateFormat . |
void |
setLenient(boolean lenient)
Overridden version of the same method of
DateFormat . |
void |
setNumberFormat(NumberFormat newNumberFormat)
Overridden version of the same method of
DateFormat . |
void |
setTimeZone(TimeZone zone)
Overridden version of the same method of
DateFormat . |
format, format, getAvailableLocales, getDateInstance, getDateInstance, getDateInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getInstance, getTimeInstance, getTimeInstance, getTimeInstance
format, formatToCharacterIterator, parseObject
public IlvWrappedICUDateFormat(DateFormat delegate)
DateFormat
that delegates to an ICU
DateFormat
.public DateFormat getUnderlyingICUFormat()
public StringBuffer format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)
DateFormat
.format
in class DateFormat
DateFormat
public Date parse(String source) throws ParseException
DateFormat
.parse
in class DateFormat
ParseException
DateFormat
public Date parse(String source, ParsePosition pos)
DateFormat
.parse
in class DateFormat
DateFormat
public Object parseObject(String source, ParsePosition pos)
DateFormat
.parseObject
in class DateFormat
DateFormat
public Calendar getCalendar()
DateFormat
.getCalendar
in class DateFormat
DateFormat
public void setCalendar(Calendar newCalendar)
DateFormat
.setCalendar
in class DateFormat
DateFormat
public NumberFormat getNumberFormat()
DateFormat
.getNumberFormat
in class DateFormat
DateFormat
public void setNumberFormat(NumberFormat newNumberFormat)
DateFormat
.setNumberFormat
in class DateFormat
DateFormat
public TimeZone getTimeZone()
DateFormat
.getTimeZone
in class DateFormat
DateFormat
public void setTimeZone(TimeZone zone)
DateFormat
.setTimeZone
in class DateFormat
DateFormat
public boolean isLenient()
DateFormat
.isLenient
in class DateFormat
DateFormat
public void setLenient(boolean lenient)
DateFormat
.setLenient
in class DateFormat
DateFormat
public boolean equals(Object o)
DateFormat
.equals
in class DateFormat
DateFormat
public int hashCode()
DateFormat
.hashCode
in class DateFormat
DateFormat
public Object clone()
DateFormat
.clone
in class DateFormat
DateFormat
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.