Class | : RWDate
| Library | : RogueWave
| Source : | File :
|
Author : | : nobody | Update : |
Version : | : unknown
|
Public Data :
- static const unsigned char daysInMonth ;
- static const unsigned firstDayOfEachMonth ;
Private Data :
Constructors :
- public inline RWDate ( ) ;
- public inline RWDate ( unsigned long j) ;
- public RWDate ( unsigned day, unsigned year) ;
- public RWDate ( unsigned , const char * month, unsigned year, const RWLocale & = RWLocale::global(xx)) ;
- public RWDate ( unsigned d, unsigned m, unsigned ) ;
- public inline RWDate ( istream & s, const RWLocale & l = RWLocale::global(xx)) ;
- public RWDate ( const RWCString & str, const RWLocale & = RWLocale::global(xx)) ;
- public RWDate ( const RWTime & , const RWZone & = RWZone::local(xx)) ;
- public RWDate ( const struct tm * ) ;
- public inline RWDate ( const RWDate & d) ;
Operators :
- public inline RWDate& operator = ( const RWDate & d) ;
- public inline RWDate operator ++ ( ) ;
- public inline RWDate operator -- ( ) ;
- public inline RWDate operator ++ ( int ) ;
- public inline RWDate operator -- ( int ) ;
- public inline RWDate& operator += ( unsigned long dd) ;
- public inline RWDate& operator -= ( unsigned long dd) ;
- public friend ostream& operator << ( ostream & , const RWDate & ) ;
- public friend istream& operator >> ( istream & s, RWDate & d) ;
- public inline friend RWDate operator + ( const RWDate & dt, unsigned long dd) ;
- public inline friend RWDate operator + ( unsigned long dd, const RWDate & dt) ;
- public inline friend RWDate operator - ( const RWDate & dt, unsigned long dd) ;
- public inline friend unsigned long operator - ( const RWDate & d1, const RWDate & d2) ;
- public inline friend RWBoolean operator < ( const RWDate & d1, const RWDate & d2) ;
- public inline friend RWBoolean operator <= ( const RWDate & d1, const RWDate & d2) ;
- public inline friend RWBoolean operator > ( const RWDate & d1, const RWDate & d2) ;
- public inline friend RWBoolean operator >= ( const RWDate & d1, const RWDate & d2) ;
- public inline friend RWBoolean operator == ( const RWDate & d1, const RWDate & d2) ;
- public inline friend RWBoolean operator != ( const RWDate & d1, const RWDate & d2) ;
Public Function :
- RWCString asString ( char format = 'x', const RWLocale & = RWLocale::global(xx)) const ;
- inline RWBoolean between ( const RWDate & d1, const RWDate & d2) const ;
- int compareTo ( const RWDate * ) const ;
- unsigned day ( ) const ;
- unsigned dayOfMonth ( ) const ;
- void extract ( struct tm * ) const ;
- unsigned firstDayOfMonth ( unsigned mon) const ;
- inline unsigned firstDayOfMonth ( ) const ;
- unsigned hash ( ) const ;
- inline RWBoolean isValid ( ) const ;
- inline RWBoolean leap ( ) const ;
- RWDate max ( const RWDate & dt) const ;
- RWDate min ( const RWDate & dt) const ;
- unsigned month ( ) const ;
- RWCString monthName ( const RWLocale & = RWLocale::global(xx)) const ;
- RWDate previous ( const char * dayName, const RWLocale & = RWLocale::global(xx)) const ;
- RWDate previous ( unsigned day) const ;
- unsigned weekDay ( ) const ;
- RWCString weekDayName ( const RWLocale & = RWLocale::global(xx)) const ;
- unsigned year ( ) const ;
- inline RWspace binaryStoreSize ( ) const ;
- void restoreFrom ( RWvistream & s) ;
- void restoreFrom ( RWFile & ) ;
- void saveOn ( RWvostream & s) const ;
- void saveOn ( RWFile & ) const ;
- static void clobber ( struct tm * ) ;
- static unsigned dayOfWeek ( const char * dayName, const RWLocale & = RWLocale::global(xx)) ;
- static unsigned daysInYear ( unsigned year) ;
- static RWBoolean dayWithinMonth ( unsigned mon, unsigned day, unsigned yr) ;
- static unsigned indexOfMonth ( const char * monName, const RWLocale & = RWLocale::global(xx)) ;
- static unsigned long jday ( unsigned mon, unsigned day, unsigned year) ;
- static RWBoolean leapYear ( unsigned year) ;
- static RWCString nameOfMonth ( unsigned month, const RWLocale & = RWLocale::global(xx)) ;
- static RWDate now ( ) ;
- static RWCString weekDayName ( unsigned day, const RWLocale & = RWLocale::global(xx)) ;
Protected Function :
- inline static RWBoolean assertWeekDayNumber ( unsigned d) ;
- inline static RWBoolean assertIndexOfMonth ( unsigned m) ;
Private Function :
- void parseFrom ( istream & , const RWLocale & ) ;
- void mdy ( unsigned & m, unsigned & d, unsigned & y) const ;
- static unsigned long currentDate ( ) ;
Last update : Mon Sep 02 23:39:12 1996
by MkHelp 0.30