Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

xbDate Class Reference

xbDate class. More...

#include <xdate.h>

Inheritance diagram for xbDate::

xbXBase List of all members.

Public Methods

 xbDate ()
 Short description. More...

 xbDate (const char *Date8)
 Short description. More...

 xbDate (const xbString &Date8)
 Short description. More...

const xbStringGetDate () const
 Short description. More...

xbStringGetDate ()
 Short description. More...

const xbStringGetFormattedDate () const
 Short description. More...

xbStringGetFormattedDate ()
 Short description. More...

int SetDate (const char *Date8)
 Short description. More...

int SetDate (const xbString &Date8)
 Short description. More...

long JulianDays (const char *Date8) const
 Short description. More...

long JulianDays (const xbString &Date8) const
 Short description. More...

long JulianDays () const
 Short description. More...

int YearOf (const char *Date8) const
 Short description. More...

int YearOf (const xbString &Date8) const
 Short description. More...

int YearOf () const
 Short description. More...

int MonthOf (const char *Date8) const
 Short description. More...

int MonthOf (const xbString &Date8) const
 Short description. More...

int MonthOf () const
 Short description. More...

int DayOf (int Format, const char *Date8) const
 Short description. More...

int DayOf (int Format, const xbString &Date8) const
 Short description. More...

int DayOf (int Format) const
 Short description. More...

int IsLeapYear (const char *Date8) const
 Short description. More...

int IsLeapYear (const xbString &Date8) const
 Short description. More...

int IsLeapYear () const
 Short description. More...

int DateIsValid (const char *Date8) const
 Short description. More...

int DateIsValid (const xbString &Date8) const
 Short description. More...

xbStringLastDayOfMonth (const char *Date8)
 Short description. More...

xbStringLastDayOfMonth (const xbString &Date8)
 Short description. More...

xbStringLastDayOfMonth ()
 Short description. More...

xbStringSysdate ()
 Short description. More...

xbStringJulToDate8 (long)
 Short description. More...

xbStringFormatDate (const char *Format, const char *Date8)
 Short description. More...

xbStringFormatDate (const xbString &Format, const char *Date8)
 Short description. More...

xbStringFormatDate (const char *Format, const xbString &Date8)
 Short description. More...

xbStringFormatDate (const xbString &Format, const xbString &Date8)
 Short description. More...

xbStringFormatDate (const char *Format)
 Short description. More...

xbStringFormatDate (const xbString &Format)
 Short description. More...

xbStringCharDayOf (const char *Date8)
 Short description. More...

xbStringCharDayOf (const xbString &Date8)
 Short description. More...

xbStringCharDayOf ()
 Short description. More...

xbStringCharMonthOf (const char *Date8)
 Short description. More...

xbStringCharMonthOf (const xbString &Date8)
 Short description. More...

xbStringCharMonthOf ()
 Short description. More...

xbStringoperator+= (int)
 Short description. More...

xbStringoperator-= (int)
 Short description. More...

xbStringoperator++ (int)
 Short description. More...

xbStringoperator-- (int)
 Short description. More...

xbStringoperator+ (int)
 Short description. More...

xbStringoperator- (int)
 Short description. More...

long operator- (const xbDate &) const
 Short description. More...

int operator== (const xbDate &) const
 Short description. More...

int operator!= (const xbDate &) const
 Short description. More...

int operator< (const xbDate &) const
 Short description. More...

int operator> (const xbDate &) const
 Short description. More...

int operator<= (const xbDate &) const
 Short description. More...

int operator>= (const xbDate &) const
 Short description. More...


Protected Methods

void SetDateTables ()
 Short description. More...


Protected Attributes

xbString cDate8
xbString fDate

Static Protected Attributes

int AggregatedDaysInMonths [2][13]
int DaysInMonths [2][13]
const xbStringDays [7]
const xbStringMonths [12]

Detailed Description

xbDate class.


Constructor & Destructor Documentation

xbDate::xbDate ( )
 

Short description.

xbDate::xbDate ( const char * Date8 )
 

Short description.

Parameters:
Date8  

xbDate::xbDate ( const xbString & Date8 )
 

Short description.

Parameters:
Date8  


Member Function Documentation

xbString & xbDate::CharDayOf ( ) [inline]
 

Short description.

xbString & xbDate::CharDayOf ( const xbString & Date8 ) [inline]
 

Short description.

xbString & xbDate::CharDayOf ( const char * Date8 )
 

Short description.

Parameters:
Date8  

xbString & xbDate::CharMonthOf ( ) [inline]
 

Short description.

xbString & xbDate::CharMonthOf ( const xbString & Date8 ) [inline]
 

Short description.

xbString & xbDate::CharMonthOf ( const char * Date8 )
 

Short description.

Parameters:
Date8  

int xbDate::DateIsValid ( const xbString & Date8 ) const [inline]
 

Short description.

int xbDate::DateIsValid ( const char * Date8 ) const
 

Short description.

Parameters:
Date8  

int xbDate::DayOf ( int Format ) const [inline]
 

Short description.

int xbDate::DayOf ( int Format,
const xbString & Date8 ) const [inline]
 

Short description.

int xbDate::DayOf ( int Format,
const char * Date8 ) const
 

Short description.

Parameters:
Format  
Date8  

xbString & xbDate::FormatDate ( const xbString & Format ) [inline]
 

Short description.

xbString & xbDate::FormatDate ( const char * Format ) [inline]
 

Short description.

xbString & xbDate::FormatDate ( const xbString & Format,
const xbString & Date8 ) [inline]
 

Short description.

xbString & xbDate::FormatDate ( const char * Format,
const xbString & Date8 ) [inline]
 

Short description.

xbString & xbDate::FormatDate ( const xbString & Format,
const char * Date8 ) [inline]
 

Short description.

xbString & xbDate::FormatDate ( const char * Format,
const char * Date8 )
 

Short description.

Parameters:
Format  
Date8  

xbString & xbDate::GetDate ( ) [inline]
 

Short description.

const xbString & xbDate::GetDate ( ) const [inline]
 

Short description.

xbString & xbDate::GetFormattedDate ( ) [inline]
 

Short description.

const xbString & xbDate::GetFormattedDate ( ) const [inline]
 

Short description.

int xbDate::IsLeapYear ( ) const [inline]
 

Short description.

int xbDate::IsLeapYear ( const xbString & Date8 ) const [inline]
 

Short description.

int xbDate::IsLeapYear ( const char * Date8 ) const
 

Short description.

Parameters:
Date8  

xbString & xbDate::JulToDate8 ( long days )
 

Short description.

Parameters:
days  

long xbDate::JulianDays ( ) const [inline]
 

Short description.

long xbDate::JulianDays ( const xbString & Date8 ) const [inline]
 

Short description.

long xbDate::JulianDays ( const char * Date8 ) const
 

Short description.

Parameters:
Date8  

xbString & xbDate::LastDayOfMonth ( ) [inline]
 

Short description.

xbString & xbDate::LastDayOfMonth ( const xbString & Date8 ) [inline]
 

Short description.

xbString & xbDate::LastDayOfMonth ( const char * Date8 )
 

Short description.

Parameters:
Date8  

int xbDate::MonthOf ( ) const [inline]
 

Short description.

int xbDate::MonthOf ( const xbString & Date8 ) const [inline]
 

Short description.

int xbDate::MonthOf ( const char * Date8 ) const
 

Short description.

Parameters:
Date8  

int xbDate::SetDate ( const xbString & Date8 ) [inline]
 

Short description.

int xbDate::SetDate ( const char * Date8 )
 

Short description.

Parameters:
Date8  

void xbDate::SetDateTables ( ) [protected]
 

Short description.

xbString & xbDate::Sysdate ( )
 

Short description.

int xbDate::YearOf ( ) const [inline]
 

Short description.

int xbDate::YearOf ( const xbString & Date8 ) const [inline]
 

Short description.

int xbDate::YearOf ( const char * Date8 ) const
 

Short description.

Parameters:
Date8  

int xbDate::operator!= ( const xbDate & d ) const
 

Short description.

xbString & xbDate::operator+ ( int count )
 

Short description.

xbString & xbDate::operator++ ( int )
 

Short description.

xbString & xbDate::operator+= ( int count )
 

Short description.

long xbDate::operator- ( const xbDate & d ) const
 

Short description.

xbString & xbDate::operator- ( int count )
 

Short description.

xbString & xbDate::operator-- ( int )
 

Short description.

xbString & xbDate::operator-= ( int count )
 

Short description.

int xbDate::operator< ( const xbDate & d ) const
 

Short description.

int xbDate::operator<= ( const xbDate & d ) const
 

Short description.

int xbDate::operator== ( const xbDate & d ) const
 

Short description.

int xbDate::operator> ( const xbDate & d ) const
 

Short description.

int xbDate::operator>= ( const xbDate & d ) const
 

Short description.


Member Data Documentation

int xbDate::AggregatedDaysInMonths [static, protected]
 

const xbString * xbDate::Days [static, protected]
 

int xbDate::DaysInMonths [static, protected]
 

const xbString * xbDate::Months [static, protected]
 

xbString xbDate::cDate8 [protected]
 

xbString xbDate::fDate [protected]
 


The documentation for this class was generated from the following files:
Generated at Sun Feb 1 20:51:34 2004 for Xbase Class Library by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001