xbDate Class Reference

xbDate class More...

#include <xdate.h>

Inheritance diagram for xbDate:

xbXBase List of all members.

Public Member Functions

 xbDate ()
 Short description.
 xbDate (const char *Date8)
 Short description.
 xbDate (const xbString &Date8)
 Short description.
const xbString & GetDate () const
 Short description.
xbString & GetDate ()
 Short description.
const xbString & GetFormattedDate () const
 Short description.
xbString & GetFormattedDate ()
 Short description.
int SetDate (const char *Date8)
 Short description.
int SetDate (const xbString &Date8)
 Short description.
long JulianDays (const char *Date8) const
 Short description.
long JulianDays (const xbString &Date8) const
 Short description.
long JulianDays () const
 Short description.
int YearOf (const char *Date8) const
 Short description.
int YearOf (const xbString &Date8) const
 Short description.
int YearOf () const
 Short description.
int MonthOf (const char *Date8) const
 Short description.
int MonthOf (const xbString &Date8) const
 Short description.
int MonthOf () const
 Short description.
int DayOf (int Format, const char *Date8) const
 Short description.
int DayOf (int Format, const xbString &Date8) const
 Short description.
int DayOf (int Format) const
 Short description.
int IsLeapYear (const char *Date8) const
 Short description.
int IsLeapYear (const xbString &Date8) const
 Short description.
int IsLeapYear () const
 Short description.
int DateIsValid (const char *Date8) const
 Short description.
int DateIsValid (const xbString &Date8) const
 Short description.
xbString & LastDayOfMonth (const char *Date8)
 Short description.
xbString & LastDayOfMonth (const xbString &Date8)
 Short description.
xbString & LastDayOfMonth ()
 Short description.
xbString & Sysdate ()
 Short description.
xbString & JulToDate8 (long)
 Short description.
xbString & FormatDate (const char *Format, const char *Date8)
 Short description.
xbString & FormatDate (const xbString &Format, const char *Date8)
 Short description.
xbString & FormatDate (const char *Format, const xbString &Date8)
 Short description.
xbString & FormatDate (const xbString &Format, const xbString &Date8)
 Short description.
xbString & FormatDate (const char *Format)
 Short description.
xbString & FormatDate (const xbString &Format)
 Short description.
xbString & CharDayOf (const char *Date8)
 Short description.
xbString & CharDayOf (const xbString &Date8)
 Short description.
xbString & CharDayOf ()
 Short description.
xbString & CharMonthOf (const char *Date8)
 Short description.
xbString & CharMonthOf (const xbString &Date8)
 Short description.
xbString & CharMonthOf ()
 Short description.
xbString & operator+= (int)
 Short description.
xbString & operator-= (int)
 Short description.
xbString & operator++ (int)
 Short description.
xbString & operator-- (int)
 Short description.
xbString & operator+ (int)
 Short description.
xbString & operator- (int)
 Short description.
long operator- (const xbDate &) const
 Short description.
int operator== (const xbDate &) const
 Short description.
int operator!= (const xbDate &) const
 Short description.
int operator< (const xbDate &) const
 Short description.
int operator> (const xbDate &) const
 Short description.
int operator<= (const xbDate &) const
 Short description.
int operator>= (const xbDate &) const
 Short description.

Protected Member Functions

void SetDateTables ()
 Short description.

Protected Attributes

xbString cDate8
xbString fDate

Static Protected Attributes

static int AggregatedDaysInMonths [2][13]
static int DaysInMonths [2][13]
static const xbString * Days [7]
static const xbString * Months [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 

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::JulToDate8 ( long  days  ) 

Short description.

Parameters:
days 

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::operator!= ( const xbDate &   )  const

Short description.

xbString & xbDate::operator+ ( int   ) 

Short description.

xbString & xbDate::operator++ ( int   ) 

Short description.

xbString & xbDate::operator+= ( int   ) 

Short description.

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

Short description.

xbString & xbDate::operator- ( int   ) 

Short description.

xbString & xbDate::operator-- ( int   ) 

Short description.

xbString & xbDate::operator-= ( int   ) 

Short description.

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

Short description.

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

Short description.

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

Short description.

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

Short description.

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

Short description.

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 


Member Data Documentation

int xbDate::AggregatedDaysInMonths [static, protected]

xbString xbDate::cDate8 [protected]

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

int xbDate::DaysInMonths [static, protected]

xbString xbDate::fDate [protected]

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


The documentation for this class was generated from the following files:
Generated on Mon Aug 27 15:35:18 2007 for Xbase Class Library by  doxygen 1.4.7