Xbase64 Class Library  3.1.2
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
xbDate Class Reference

xbDate class More...

#include <xbdate.h>

Public Member Functions

 xbDate ()
 Short description.
 
 xbDate (const char *Date8)
 Short description.
 
 xbDate (const xbString &Date8)
 Short description.
 
virtual ~xbDate ()
 Destructor.
 
const xbStringGetDate () const
 Short description.
 
xbStringGetDate ()
 Short description.
 
const xbStringGetFormattedDate () const
 Short description.
 
xbStringGetFormattedDate ()
 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 CenturyOf (const char *Date8) 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 CalcRollingCenturyForYear (int) const
 Short description.
 
int DateIsValid (const char *Date8) const
 Short description.
 
int DateIsValid (const xbString &Date8) const
 Short description.
 
xbStringLastDayOfMonth (const char *Date8)
 Short description.
 
xbStringLastDayOfMonth (const xbString &Date8)
 Short description.
 
xbStringLastDayOfMonth ()
 Short description.
 
xbStringSysdate ()
 Short description.
 
xbStringJulToDate8 (long)
 Short description.
 
xbStringFormatCTODdate (const char *indate)
 Short description.
 
xbStringFormatDate (const char *Format, const char *Date8)
 Short description.
 
xbStringFormatDate (const xbString &Format, const char *Date8)
 Short description.
 
xbStringFormatDate (const char *Format, const xbString &Date8)
 Short description.
 
xbStringFormatDate (const xbString &Format, const xbString &Date8)
 Short description.
 
xbStringFormatDate (const char *Format)
 Short description.
 
xbStringFormatDate (const xbString &Format)
 Short description.
 
xbStringCharDayOf (const char *Date8)
 Short description.
 
xbStringCharDayOf (const xbString &Date8)
 Short description.
 
xbStringCharDayOf ()
 Short description.
 
xbStringCharMonthOf (const char *Date8)
 Short description.
 
xbStringCharMonthOf (const xbString &Date8)
 Short description.
 
xbStringCharMonthOf ()
 Short description.
 
xbStringoperator+= (int)
 Short description.
 
xbStringoperator-= (int)
 Short description.
 
xbStringoperator++ (int)
 Short description.
 
xbStringoperator-- (int)
 Short description.
 
xbStringoperator+ (int)
 Short description.
 
xbStringoperator- (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]
 

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
xbDate::~xbDate ( )
virtual

Destructor.

Member Function Documentation

int xbDate::CalcRollingCenturyForYear ( int  CalcYear) const

Short description.

Parameters
CalcYear
int xbDate::CenturyOf ( const char *  Date8) const

Short description.

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

Short description.

Parameters
Date8
xbString& xbDate::CharDayOf ( const xbString Date8)
inline

Short description.

xbString& xbDate::CharDayOf ( )
inline

Short description.

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

Short description.

Parameters
Date8
xbString& xbDate::CharMonthOf ( const xbString Date8)
inline

Short description.

xbString& xbDate::CharMonthOf ( )
inline

Short description.

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

Short description.

Parameters
Date8
int xbDate::DateIsValid ( const xbString Date8) const
inline

Short description.

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

Short description.

Parameters
Format
Date8
int xbDate::DayOf ( int  Format,
const xbString Date8 
) const
inline

Short description.

int xbDate::DayOf ( int  Format) const
inline

Short description.

xbString & xbDate::FormatCTODdate ( const char *  indate)

Short description.

Parameters
indatein the format of MM/DD/YY
xbString & xbDate::FormatDate ( const char *  Format,
const char *  Date8 
)

Short description.

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

Short description.

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

Short description.

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

Short description.

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

Short description.

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

Short description.

const xbString& xbDate::GetDate ( ) const
inline

Short description.

xbString& xbDate::GetDate ( )
inline

Short description.

const xbString& xbDate::GetFormattedDate ( ) const
inline

Short description.

xbString& xbDate::GetFormattedDate ( )
inline

Short description.

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

Short description.

Parameters
Date8
int xbDate::IsLeapYear ( const xbString Date8) const
inline

Short description.

int xbDate::IsLeapYear ( ) const
inline

Short description.

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

Short description.

Parameters
Date8
long xbDate::JulianDays ( const xbString Date8) const
inline

Short description.

long xbDate::JulianDays ( ) const
inline

Short description.

xbString & xbDate::JulToDate8 ( long  days)

Short description.

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

Short description.

Parameters
Date8
xbString& xbDate::LastDayOfMonth ( const xbString Date8)
inline

Short description.

xbString& xbDate::LastDayOfMonth ( )
inline

Short description.

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

Short description.

Parameters
Date8
int xbDate::MonthOf ( const xbString Date8) const
inline

Short description.

int xbDate::MonthOf ( ) const
inline

Short description.

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.

xbString & xbDate::operator- ( int  count)

Short description.

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

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.

int xbDate::SetDate ( const char *  Date8)

Short description.

Parameters
Date8
int xbDate::SetDate ( const xbString Date8)
inline

Short description.

void xbDate::SetDateTables ( )
protected

Short description.

xbString & xbDate::Sysdate ( )

Short description.

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

Short description.

Parameters
Date8
int xbDate::YearOf ( const xbString Date8) const
inline

Short description.

int xbDate::YearOf ( ) const
inline

Short description.

Member Data Documentation

int xbDate::AggregatedDaysInMonths
staticprotected
xbString xbDate::cDate8
protected
int xbDate::DaysInMonths
staticprotected
xbString xbDate::fDate
protected

The documentation for this class was generated from the following files: