2005/5/9

     
 

class SimpleCalendar

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

acdk::util::SimpleCalendar Class Reference

#include <SimpleCalendar.h>

Inheritance diagram for acdk::util::SimpleCalendar:

acdk::util::Calendar 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

A more simple callendar.

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.10
Date:
Date
2005/02/05 10:45:06
Bug:
only partly implemneted


Public Member Functions

 SimpleCalendar ()
 SimpleCalendar (int year, int month, int day)
 SimpleCalendar (int year, int month, int day, int hour, int minute)
 SimpleCalendar (int year, int month, int day, int hour, int minute, int second, int ms=0)
 ~SimpleCalendar ()
int getJulianDay ()
int getMillisecondsOfDay ()
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.


Static Public Member Functions

bool isLeapYear (int year)
int toJulianDay (int year, int month, int day)
void fromJulianDay (int jday, int *yp, int *mp, int *dp)
int monthDayCount (int year, int month)

Private Attributes

int _JulianDay
int _millisecondsOfDay


Constructor & Destructor Documentation

acdk::util::SimpleCalendar::SimpleCalendar  ) 
 

acdk::util::SimpleCalendar::SimpleCalendar int  year,
int  month,
int  day
 

acdk::util::SimpleCalendar::SimpleCalendar int  year,
int  month,
int  day,
int  hour,
int  minute
 

acdk::util::SimpleCalendar::SimpleCalendar int  year,
int  month,
int  day,
int  hour,
int  minute,
int  second,
int  ms = 0
 

acdk::util::SimpleCalendar::~SimpleCalendar  )  [inline]
 


Member Function Documentation

bool acdk::util::SimpleCalendar::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::util::Calendar.

void acdk::util::SimpleCalendar::fromJulianDay int  jday,
int *  yp,
int *  mp,
int *  dp
[static]
 

int acdk::util::SimpleCalendar::getJulianDay  )  [inline]
 

int acdk::util::SimpleCalendar::getMillisecondsOfDay  )  [inline]
 

bool acdk::util::SimpleCalendar::isLeapYear int  year  )  [static]
 

int acdk::util::SimpleCalendar::monthDayCount int  year,
int  month
[static]
 

int acdk::util::SimpleCalendar::toJulianDay int  year,
int  month,
int  day
[static]
 


Member Data Documentation

int acdk::util::SimpleCalendar::_JulianDay [private]
 

int acdk::util::SimpleCalendar::_millisecondsOfDay [private]