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() [1/3]

xbDate::xbDate ( )

Short description.

◆ xbDate() [2/3]

xbDate::xbDate ( const char * Date8)

Short description.

Parameters
Date8

◆ xbDate() [3/3]

xbDate::xbDate ( const xbString & Date8)

Short description.

Parameters
Date8

◆ ~xbDate()

xbDate::~xbDate ( )
virtual

Destructor.

Member Function Documentation

◆ CalcRollingCenturyForYear()

int xbDate::CalcRollingCenturyForYear ( int CalcYear) const

Short description.

Parameters
CalcYear

◆ CenturyOf()

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

Short description.

Parameters
Date8

◆ CharDayOf() [1/3]

xbString & xbDate::CharDayOf ( )
inline

Short description.

◆ CharDayOf() [2/3]

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

Short description.

Parameters
Date8

◆ CharDayOf() [3/3]

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

Short description.

◆ CharMonthOf() [1/3]

xbString & xbDate::CharMonthOf ( )
inline

Short description.

◆ CharMonthOf() [2/3]

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

Short description.

Parameters
Date8

◆ CharMonthOf() [3/3]

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

Short description.

◆ DateIsValid() [1/2]

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

Short description.

Parameters
Date8

◆ DateIsValid() [2/2]

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

Short description.

◆ DayOf() [1/3]

int xbDate::DayOf ( int Format) const
inline

Short description.

◆ DayOf() [2/3]

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

Short description.

Parameters
Format
Date8

◆ DayOf() [3/3]

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

Short description.

◆ FormatCTODdate()

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

Short description.

Parameters
indatein the format of MM/DD/YY

◆ FormatDate() [1/6]

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

Short description.

◆ FormatDate() [2/6]

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

Short description.

Parameters
Format
Date8

◆ FormatDate() [3/6]

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

Short description.

◆ FormatDate() [4/6]

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

Short description.

◆ FormatDate() [5/6]

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

Short description.

◆ FormatDate() [6/6]

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

Short description.

◆ GetDate() [1/2]

xbString & xbDate::GetDate ( )
inline

Short description.

◆ GetDate() [2/2]

const xbString & xbDate::GetDate ( ) const
inline

Short description.

◆ GetFormattedDate() [1/2]

xbString & xbDate::GetFormattedDate ( )
inline

Short description.

◆ GetFormattedDate() [2/2]

const xbString & xbDate::GetFormattedDate ( ) const
inline

Short description.

◆ IsLeapYear() [1/3]

int xbDate::IsLeapYear ( ) const
inline

Short description.

◆ IsLeapYear() [2/3]

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

Short description.

Parameters
Date8

◆ IsLeapYear() [3/3]

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

Short description.

◆ JulianDays() [1/3]

long xbDate::JulianDays ( ) const
inline

Short description.

◆ JulianDays() [2/3]

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

Short description.

Parameters
Date8

◆ JulianDays() [3/3]

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

Short description.

◆ JulToDate8()

xbString & xbDate::JulToDate8 ( long days)

Short description.

Parameters
days

◆ LastDayOfMonth() [1/3]

xbString & xbDate::LastDayOfMonth ( )
inline

Short description.

◆ LastDayOfMonth() [2/3]

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

Short description.

Parameters
Date8

◆ LastDayOfMonth() [3/3]

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

Short description.

◆ MonthOf() [1/3]

int xbDate::MonthOf ( ) const
inline

Short description.

◆ MonthOf() [2/3]

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

Short description.

Parameters
Date8

◆ MonthOf() [3/3]

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

Short description.

◆ operator!=()

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

Short description.

◆ operator+()

xbString & xbDate::operator+ ( int count)

Short description.

◆ operator++()

xbString & xbDate::operator++ ( int )

Short description.

◆ operator+=()

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

Short description.

◆ operator-() [1/2]

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

Short description.

◆ operator-() [2/2]

xbString & xbDate::operator- ( int count)

Short description.

◆ operator--()

xbString & xbDate::operator-- ( int )

Short description.

◆ operator-=()

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

Short description.

◆ operator<()

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

Short description.

◆ operator<=()

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

Short description.

◆ operator==()

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

Short description.

◆ operator>()

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

Short description.

◆ operator>=()

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

Short description.

◆ SetDate() [1/2]

int xbDate::SetDate ( const char * Date8)

Short description.

Parameters
Date8

◆ SetDate() [2/2]

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

Short description.

◆ SetDateTables()

void xbDate::SetDateTables ( )
protected

Short description.

◆ Sysdate()

xbString & xbDate::Sysdate ( )

Short description.

◆ YearOf() [1/3]

int xbDate::YearOf ( ) const
inline

Short description.

◆ YearOf() [2/3]

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

Short description.

Parameters
Date8

◆ YearOf() [3/3]

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

Short description.

Member Data Documentation

◆ AggregatedDaysInMonths

int xbDate::AggregatedDaysInMonths
staticprotected

◆ cDate8

xbString xbDate::cDate8
protected

◆ DaysInMonths

int xbDate::DaysInMonths
staticprotected

◆ fDate

xbString xbDate::fDate
protected

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