|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::text::DateFormat Class Reference#include <DateFormat.h>
Inheritance diagram for acdk::text::DateFormat:
List of all members.
|
Public Member Functions |
virtual | ~DateFormat () |
RStringBuffer | format (IN(acdk::lang::Object) obj, IN(RStringBuffer) toAppendTo, IN(RFieldPosition) fieldPosition) |
| This method formats an acdk::lang::Object into a String an appends the String to a StringBuffer.
|
virtual RStringBuffer | format (IN(::acdk::util::RDate) date, IN(RStringBuffer) toAppendTo, IN(RFieldPosition) fieldPosition)=0 |
RString | format (IN(::acdk::util::RDate) date) |
::acdk::util::RDate | parse (IN(RString) text) |
virtual::acdk::util::RDate | parse (IN(RString) text, IN(RParsePosition) pos)=0 |
acdk::lang::Object | parseObject (IN(RString) source, IN(RParsePosition) pos) |
static::acdk::util::RLocaleArray | getAvailableLocales () |
void | setCalendar (IN(::acdk::util::RCalendar) newCalendar) |
::acdk::util::RCalendar | getCalendar () |
void | setNumberFormat (IN(RNumberFormat) newNumberFormat) |
RNumberFormat | getNumberFormat () |
void | setTimeZone (IN(::acdk::util::RTimeZone) zone) |
::acdk::util::RTimeZone | getTimeZone () |
void | setLenient (bool lenient) |
bool | getLenient () |
int | hashCode () |
bool | equals (IN(acdk::lang::Object) obj) |
| Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.
|
acdk::lang::Object | clone () |
| Creates a copy of this object.
|
Static Public Member Functions |
RDateFormat | getTimeInstance (FormatStyle style=DefaultFormatStyle) |
RDateFormat | getTimeInstance (FormatStyle style, IN(::acdk::util::RLocale) locale) |
RDateFormat | getDateInstance (FormatStyle style=DefaultFormatStyle) |
RDateFormat | getDateInstance (FormatStyle style, IN(::acdk::util::RLocale) locale) |
RDateFormat | getDateTimeInstance (FormatStyle dateStyle=DefaultFormatStyle, FormatStyle timeStyle=DefaultFormatStyle) |
RDateFormat | getDateTimeInstance (FormatStyle dateStyle, FormatStyle timeStyle, IN(::acdk::util::RLocale) locale) |
RDateFormat | getInstance () |
Protected Member Functions |
| DateFormat () |
Protected Attributes |
::acdk::util::RCalendar | _calendar |
RNumberFormat | _numberFormat |
Static Private Member Functions |
RDateFormat | get (FormatStyle timeStyle, FormatStyle dateStyle, IN(::acdk::util::RLocale) loc) |
Private Attributes |
bool | _lenient |
Constructor & Destructor Documentation
virtual acdk::text::DateFormat::~DateFormat |
( |
|
) |
[virtual] |
|
acdk::text::DateFormat::DateFormat |
( |
|
) |
[protected] |
|
Member Function Documentation
RDateFormat acdk::text::DateFormat::getDateInstance |
( |
FormatStyle |
style = DefaultFormatStyle |
) |
[inline, static] |
|
RDateFormat acdk::text::DateFormat::getInstance |
( |
|
) |
[inline, static] |
|
bool acdk::text::DateFormat::getLenient |
( |
|
) |
[inline] |
|
RNumberFormat acdk::text::DateFormat::getNumberFormat |
( |
|
) |
[inline] |
|
RDateFormat acdk::text::DateFormat::getTimeInstance |
( |
FormatStyle |
style = DefaultFormatStyle |
) |
[inline, static] |
|
int acdk::text::DateFormat::hashCode |
( |
|
) |
[virtual] |
|
void acdk::text::DateFormat::setLenient |
( |
bool |
lenient |
) |
[inline] |
|
void acdk::text::DateFormat::setNumberFormat |
( |
IN(RNumberFormat) |
newNumberFormat |
) |
[inline] |
|
Member Data Documentation
|
|