2005/5/9

     
 

class SimpleTimeZone

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::util::SimpleTimeZone Class Reference

#include <SimpleTimeZone.h>

Inheritance diagram for acdk::util::SimpleTimeZone:

acdk::util::TimeZone acdk::io::Serializable acdk::lang::Object acdk::io::Serializable acdk::lang::Cloneable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

API: Java<br/>.

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.13
Date:
Date
2005/04/09 19:26:57


Public Member Functions

 SimpleTimeZone ()
 SimpleTimeZone (int rOs, IN(RString) id)
 SimpleTimeZone (int rOs, IN(RString) id, int startMonth, int startDayOfWeekInMonth, int startDayOfWeek, int startTime, int endMonth, int endDayOfWeekInMonth, int endDayOfWeek, int endTime)
 SimpleTimeZone (int rOs, IN(RString) id, int startMonth, int startDayOfWeekInMonth, int startDayOfWeek, int startTime, int endMonth, int endDayOfWeekInMonth, int endDayOfWeek, int endTime, int dstSavings)
 ~SimpleTimeZone ()
void setStartYear (int year)
void setStartRule (int month, int day, int dayOfWeek, int time)
void setEndRule (int month, int day, int dayOfWeek, int time)
int getOffset (int era, int year, int month, int day, int dayOfWeek, int millis)
int getRawOffset ()
void getRawOffset (int rawOffset)
bool useDaylightTime ()
bool inDaylightTime (IN(RDate) date)
RString getDisplayName (bool dst, int style, IN(RLocale))
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.


Private Member Functions

int getDaysInMonth (int month, int year)
bool isBefore (int year, int month, int day, int dayOfWeek, int millis, int mode, int otherMonth, int otherDay, int otherDayOfWeek, int otherMillis)

Private Attributes

int _rawOffset
bool _useDayLight
int _dstSavings
int _startYear
int _startMode
int _startMonth
int _startDay
int _startDayOfWeek
int _startTime
int _endMonth
int _endMode
int _endDay
int _endDayOfWeek
int _endTime

Static Private Attributes

const int DOM_MODE
const int DOW_IN_MONTH_MODE
const int DOW_GE_DOM_MODE
const int DOW_LE_DOM_MODE


Constructor & Destructor Documentation

acdk::util::SimpleTimeZone::SimpleTimeZone  ) 
 

acdk::util::SimpleTimeZone::SimpleTimeZone int  rOs,
IN(RString id
 

acdk::util::SimpleTimeZone::SimpleTimeZone int  rOs,
IN(RString id,
int  startMonth,
int  startDayOfWeekInMonth,
int  startDayOfWeek,
int  startTime,
int  endMonth,
int  endDayOfWeekInMonth,
int  endDayOfWeek,
int  endTime
 

acdk::util::SimpleTimeZone::SimpleTimeZone int  rOs,
IN(RString id,
int  startMonth,
int  startDayOfWeekInMonth,
int  startDayOfWeek,
int  startTime,
int  endMonth,
int  endDayOfWeekInMonth,
int  endDayOfWeek,
int  endTime,
int  dstSavings
 

acdk::util::SimpleTimeZone::~SimpleTimeZone  ) 
 


Member Function Documentation

bool acdk::util::SimpleTimeZone::equals IN(acdk::lang::Object obj  )  [virtual]
 

Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

See also:
serialized_equals()

Reimplemented from acdk::lang::Object.

int acdk::util::SimpleTimeZone::getDaysInMonth int  month,
int  year
[private]
 

RString acdk::util::SimpleTimeZone::getDisplayName bool  dst,
int  style,
IN(RLocale
 

Reimplemented from acdk::util::TimeZone.

int acdk::util::SimpleTimeZone::getOffset int  era,
int  year,
int  month,
int  day,
int  dayOfWeek,
int  millis
[virtual]
 

Implements acdk::util::TimeZone.

void acdk::util::SimpleTimeZone::getRawOffset int  rawOffset  )  [inline]
 

int acdk::util::SimpleTimeZone::getRawOffset  )  [inline, virtual]
 

Implements acdk::util::TimeZone.

int acdk::util::SimpleTimeZone::hashCode  )  [virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

bool acdk::util::SimpleTimeZone::inDaylightTime IN(RDate date  )  [virtual]
 

Implements acdk::util::TimeZone.

bool acdk::util::SimpleTimeZone::isBefore int  year,
int  month,
int  day,
int  dayOfWeek,
int  millis,
int  mode,
int  otherMonth,
int  otherDay,
int  otherDayOfWeek,
int  otherMillis
[private]
 

void acdk::util::SimpleTimeZone::setEndRule int  month,
int  day,
int  dayOfWeek,
int  time
 

void acdk::util::SimpleTimeZone::setStartRule int  month,
int  day,
int  dayOfWeek,
int  time
 

void acdk::util::SimpleTimeZone::setStartYear int  year  )  [inline]
 

bool acdk::util::SimpleTimeZone::useDaylightTime  )  [inline, virtual]
 

Implements acdk::util::TimeZone.


Member Data Documentation

int acdk::util::SimpleTimeZone::_dstSavings [private]
 

int acdk::util::SimpleTimeZone::_endDay [private]
 

int acdk::util::SimpleTimeZone::_endDayOfWeek [private]
 

int acdk::util::SimpleTimeZone::_endMode [private]
 

int acdk::util::SimpleTimeZone::_endMonth [private]
 

int acdk::util::SimpleTimeZone::_endTime [private]
 

int acdk::util::SimpleTimeZone::_rawOffset [private]
 

int acdk::util::SimpleTimeZone::_startDay [private]
 

int acdk::util::SimpleTimeZone::_startDayOfWeek [private]
 

int acdk::util::SimpleTimeZone::_startMode [private]
 

int acdk::util::SimpleTimeZone::_startMonth [private]
 

int acdk::util::SimpleTimeZone::_startTime [private]
 

int acdk::util::SimpleTimeZone::_startYear [private]
 

bool acdk::util::SimpleTimeZone::_useDayLight [private]
 

const int acdk::util::SimpleTimeZone::DOM_MODE [static, private]
 

const int acdk::util::SimpleTimeZone::DOW_GE_DOM_MODE [static, private]
 

const int acdk::util::SimpleTimeZone::DOW_IN_MONTH_MODE [static, private]
 

const int acdk::util::SimpleTimeZone::DOW_LE_DOM_MODE [static, private]