|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::util::Calendar Class Reference#include <Calendar.h>
Inheritance diagram for acdk::util::Calendar:
List of all members.
Detailed Description
API: Java<br/>.
- Author:
- Roger Rene Kommer (mailto:kommer@artefaktur.com)
- Version:
- Revision
- 1.11
- Date:
- Date
- 2005/04/09 19:26:56
- Bug:
- only partly implemented
|
Public Member Functions |
virtual | ~Calendar () |
RDate | getTime () |
void | setTime (IN(RDate) date) |
int | get (int field) |
void | set (int field, int value) |
void | set (int year, int month, int date) |
void | set (int year, int month, int date, int hour, int minute) |
void | set (int year, int month, int date, int hour, int minute, int second, int millisecond=0) |
void | clear () |
void | clear (int field) |
bool | isSet (int field) |
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.
|
int | hashCode () |
bool | before (IN(acdk::lang::Object) obj) |
bool | after (IN(acdk::lang::Object) obj) |
virtual void | add (int field, int amount)=0 |
virtual void | roll (int field, bool up)=0 |
void | roll (int field, int amount) |
void | setTimeZone (RTimeZone zone) |
RTimeZone | getTimeZone () |
void | setLenient (bool lenient) |
bool | getLenient () |
void | setFirstDayOfWeek (int day) |
int | getFirstDayOfWeek () |
void | setMinimalDaysInFirstWeek (int value) |
int | getMinimalDaysInFirstWeek () |
virtual int | getMinimum (int field)=0 |
virtual int | getMaximum (int max)=0 |
virtual int | getGreatestMinimum (int field)=0 |
virtual int | getLeastMaximum (int field)=0 |
int | getActualMinimum (int field) |
int | getActualMaximum (int field) |
bool | isLenient () |
virtual acdk::lang::Object | clone () |
virtual acdk::lang::Object | clone (sys::Allocator *alc) |
RString | toString () |
| return a string representation of this object Object::toString() return getName() by default
|
virtual void | computeTime ()=0 |
virtual void | computeFields ()=0 |
jlong | getTimeInMillis () |
void | setTimeInMillis (jlong millis) |
int | internalGet (int field) |
void | internalSet (int field, int value) |
void | complete () |
Static Public Member Functions |
RHashtable | get_cachedLocaleData () |
RCalendar | getInstance () |
RCalendar | getInstance (IN(RTimeZone) zone) |
RCalendar | getInstance (IN(RLocale) locale) |
RCalendar | getInstance (IN(RTimeZone) zone, IN(RLocale) locale) |
RLocaleArray | getAvailableLocales () |
Static Public Attributes |
int | ERA |
int | YEAR |
int | MONTH |
int | WEEK_OF_YEAR |
int | WEEK_OF_MONTH |
int | DATE |
int | DAY_OF_MONTH |
int | DAY_OF_YEAR |
int | DAY_OF_WEEK |
int | DAY_OF_WEEK_IN_MONTH |
int | AM_PM |
int | HOUR |
int | HOUR_OF_DAY |
int | MINUTE |
int | SECOND |
int | MILLISECOND |
int | ZONE_OFFSET |
int | DST_OFFSET |
int | FIELD_COUNT |
int | SUNDAY |
int | MONDAY |
int | TUESDAY |
int | WEDNESDAY |
int | THURSDAY |
int | FRIDAY |
int | SATURDAY |
int | JANUARY |
int | FEBRUARY |
int | MARCH |
int | APRIL |
int | MAY |
int | JUNE |
int | JULY |
int | AUGUST |
int | SEPTEMBER |
int | OCTOBER |
int | NOVEMBER |
int | DECEMBER |
int | UNDECIMBER |
int | AM |
int | PM |
Protected Member Functions |
| Calendar () |
| Calendar (IN(RTimeZone) zone, IN(RLocale) locale) |
Protected Attributes |
RintArray | _fields |
RboolArray | _isSet |
jlong | _time |
bool | _isTimeSet |
bool | _areFieldsSet |
bool | _areAllFieldsSet |
Private Attributes |
transient RintArray | _stamp |
bool | _lenient |
RTimeZone | _zone |
int | _firstDayOfWeek |
int | _minimalDaysInFirstWeek |
int | _nextStamp |
Static Private Attributes |
RHashtable | _cachedLocaleData |
int | UNSET |
int | INTERNALLY_SET |
int | MINIMUM_USER_STAMP |
Constructor & Destructor Documentation
virtual acdk::util::Calendar::~Calendar |
( |
|
) |
[virtual] |
|
acdk::util::Calendar::Calendar |
( |
|
) |
[protected] |
|
acdk::util::Calendar::Calendar |
( |
IN(RTimeZone) |
zone, |
|
|
IN(RLocale) |
locale |
|
) |
[protected] |
|
Member Function Documentation
virtual void acdk::util::Calendar::add |
( |
int |
field, |
|
|
int |
amount |
|
) |
[pure virtual] |
|
void acdk::util::Calendar::clear |
( |
int |
field |
) |
|
|
void acdk::util::Calendar::clear |
( |
|
) |
|
|
void acdk::util::Calendar::complete |
( |
|
) |
|
|
virtual void acdk::util::Calendar::computeFields |
( |
|
) |
[pure virtual] |
|
virtual void acdk::util::Calendar::computeTime |
( |
|
) |
[pure virtual] |
|
int acdk::util::Calendar::get |
( |
int |
field |
) |
[inline] |
|
RHashtable acdk::util::Calendar::get_cachedLocaleData |
( |
|
) |
[static] |
|
int acdk::util::Calendar::getActualMaximum |
( |
int |
field |
) |
|
|
int acdk::util::Calendar::getActualMinimum |
( |
int |
field |
) |
|
|
RLocaleArray acdk::util::Calendar::getAvailableLocales |
( |
|
) |
[static] |
|
int acdk::util::Calendar::getFirstDayOfWeek |
( |
|
) |
[inline] |
|
virtual int acdk::util::Calendar::getGreatestMinimum |
( |
int |
field |
) |
[pure virtual] |
|
RCalendar acdk::util::Calendar::getInstance |
( |
|
) |
[static] |
|
virtual int acdk::util::Calendar::getLeastMaximum |
( |
int |
field |
) |
[pure virtual] |
|
bool acdk::util::Calendar::getLenient |
( |
|
) |
[inline] |
|
virtual int acdk::util::Calendar::getMaximum |
( |
int |
max |
) |
[pure virtual] |
|
int acdk::util::Calendar::getMinimalDaysInFirstWeek |
( |
|
) |
[inline] |
|
virtual int acdk::util::Calendar::getMinimum |
( |
int |
field |
) |
[pure virtual] |
|
RDate acdk::util::Calendar::getTime |
( |
|
) |
[inline] |
|
jlong acdk::util::Calendar::getTimeInMillis |
( |
|
) |
[inline] |
|
RTimeZone acdk::util::Calendar::getTimeZone |
( |
|
) |
[inline] |
|
int acdk::util::Calendar::hashCode |
( |
|
) |
[virtual] |
|
int acdk::util::Calendar::internalGet |
( |
int |
field |
) |
[inline] |
|
void acdk::util::Calendar::internalSet |
( |
int |
field, |
|
|
int |
value |
|
) |
[inline] |
|
bool acdk::util::Calendar::isLenient |
( |
|
) |
[inline] |
|
bool acdk::util::Calendar::isSet |
( |
int |
field |
) |
|
|
void acdk::util::Calendar::roll |
( |
int |
field, |
|
|
int |
amount |
|
) |
|
|
virtual void acdk::util::Calendar::roll |
( |
int |
field, |
|
|
bool |
up |
|
) |
[pure virtual] |
|
void acdk::util::Calendar::set |
( |
int |
year, |
|
|
int |
month, |
|
|
int |
date, |
|
|
int |
hour, |
|
|
int |
minute, |
|
|
int |
second, |
|
|
int |
millisecond = 0 |
|
) |
|
|
void acdk::util::Calendar::set |
( |
int |
year, |
|
|
int |
month, |
|
|
int |
date, |
|
|
int |
hour, |
|
|
int |
minute |
|
) |
|
|
void acdk::util::Calendar::set |
( |
int |
year, |
|
|
int |
month, |
|
|
int |
date |
|
) |
|
|
void acdk::util::Calendar::set |
( |
int |
field, |
|
|
int |
value |
|
) |
|
|
void acdk::util::Calendar::setFirstDayOfWeek |
( |
int |
day |
) |
[inline] |
|
void acdk::util::Calendar::setLenient |
( |
bool |
lenient |
) |
[inline] |
|
void acdk::util::Calendar::setMinimalDaysInFirstWeek |
( |
int |
value |
) |
[inline] |
|
void acdk::util::Calendar::setTime |
( |
IN(RDate) |
date |
) |
[inline] |
|
void acdk::util::Calendar::setTimeInMillis |
( |
jlong |
millis |
) |
|
|
void acdk::util::Calendar::setTimeZone |
( |
RTimeZone |
zone |
) |
[inline] |
|
RString acdk::util::Calendar::toString |
( |
|
) |
[virtual] |
|
Member Data Documentation
|
|