Xbase64 Class Library
3.1.2
|
#include <xbdate.h>
Public Member Functions | |
xbDate () | |
Short description. More... | |
xbDate (const char *Date8) | |
Short description. More... | |
xbDate (const xbString &Date8) | |
Short description. More... | |
virtual | ~xbDate () |
Destructor. More... | |
const xbString & | GetDate () const |
Short description. More... | |
xbString & | GetDate () |
Short description. More... | |
const xbString & | GetFormattedDate () const |
Short description. More... | |
xbString & | GetFormattedDate () |
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 | CenturyOf (const char *Date8) 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 | CalcRollingCenturyForYear (int) const |
Short description. More... | |
int | DateIsValid (const char *Date8) const |
Short description. More... | |
int | DateIsValid (const xbString &Date8) const |
Short description. More... | |
xbString & | LastDayOfMonth (const char *Date8) |
Short description. More... | |
xbString & | LastDayOfMonth (const xbString &Date8) |
Short description. More... | |
xbString & | LastDayOfMonth () |
Short description. More... | |
xbString & | Sysdate () |
Short description. More... | |
xbString & | JulToDate8 (long) |
Short description. More... | |
xbString & | FormatCTODdate (const char *indate) |
Short description. More... | |
xbString & | FormatDate (const char *Format, const char *Date8) |
Short description. More... | |
xbString & | FormatDate (const xbString &Format, const char *Date8) |
Short description. More... | |
xbString & | FormatDate (const char *Format, const xbString &Date8) |
Short description. More... | |
xbString & | FormatDate (const xbString &Format, const xbString &Date8) |
Short description. More... | |
xbString & | FormatDate (const char *Format) |
Short description. More... | |
xbString & | FormatDate (const xbString &Format) |
Short description. More... | |
xbString & | CharDayOf (const char *Date8) |
Short description. More... | |
xbString & | CharDayOf (const xbString &Date8) |
Short description. More... | |
xbString & | CharDayOf () |
Short description. More... | |
xbString & | CharMonthOf (const char *Date8) |
Short description. More... | |
xbString & | CharMonthOf (const xbString &Date8) |
Short description. More... | |
xbString & | CharMonthOf () |
Short description. More... | |
xbString & | operator+= (int) |
Short description. More... | |
xbString & | operator-= (int) |
Short description. More... | |
xbString & | operator++ (int) |
Short description. More... | |
xbString & | operator-- (int) |
Short description. More... | |
xbString & | operator+ (int) |
Short description. More... | |
xbString & | operator- (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 Member Functions | |
void | SetDateTables () |
Short description. More... | |
Protected Attributes | |
xbString | cDate8 |
xbString | fDate |
Static Protected Attributes | |
static int | AggregatedDaysInMonths [2][13] |
static int | DaysInMonths [2][13] |
xbDate class
xbDate::xbDate | ( | ) |
Short description.
xbDate::xbDate | ( | const char * | Date8 | ) |
Short description.
Date8 |
xbDate::xbDate | ( | const xbString & | Date8 | ) |
Short description.
Date8 |
|
virtual |
Destructor.
int xbDate::CalcRollingCenturyForYear | ( | int | CalcYear | ) | const |
Short description.
CalcYear |
int xbDate::CenturyOf | ( | const char * | Date8 | ) | const |
Short description.
Date8 |
|
inline |
Short description.
xbString & xbDate::CharDayOf | ( | const char * | Date8 | ) |
Short description.
Date8 |
|
inline |
Short description.
xbString & xbDate::CharMonthOf | ( | const char * | Date8 | ) |
Short description.
Date8 |
int xbDate::DateIsValid | ( | const char * | Date8 | ) | const |
Short description.
Date8 |
|
inline |
Short description.
|
inline |
Short description.
int xbDate::DayOf | ( | int | Format, |
const char * | Date8 | ||
) | const |
Short description.
Format | |
Date8 |
|
inline |
Short description.
xbString & xbDate::FormatCTODdate | ( | const char * | indate | ) |
Short description.
indate | in the format of MM/DD/YY |
|
inline |
Short description.
xbString & xbDate::FormatDate | ( | const char * | Format, |
const char * | Date8 | ||
) |
Short description.
Format | |
Date8 |
Short description.
Short description.
Short description.
|
inline |
Short description.
|
inline |
Short description.
|
inline |
Short description.
|
inline |
Short description.
|
inline |
Short description.
int xbDate::IsLeapYear | ( | const char * | Date8 | ) | const |
Short description.
Date8 |
|
inline |
Short description.
|
inline |
Short description.
long xbDate::JulianDays | ( | const char * | Date8 | ) | const |
Short description.
Date8 |
|
inline |
Short description.
xbString & xbDate::JulToDate8 | ( | long | days | ) |
Short description.
days |
|
inline |
Short description.
xbString & xbDate::LastDayOfMonth | ( | const char * | Date8 | ) |
Short description.
Date8 |
|
inline |
Short description.
int xbDate::MonthOf | ( | const char * | Date8 | ) | const |
Short description.
Date8 |
|
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.
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.
int xbDate::SetDate | ( | const char * | Date8 | ) |
Short description.
Date8 |
|
inline |
Short description.
|
protected |
Short description.
xbString & xbDate::Sysdate | ( | ) |
Short description.
|
inline |
Short description.
int xbDate::YearOf | ( | const char * | Date8 | ) | const |
Short description.
Date8 |
|
inline |
Short description.
|
staticprotected |
|
protected |
|
staticprotected |
|
protected |