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 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 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.
xbStringLastDayOfMonth (const char *Date8)
 Short description.
xbStringLastDayOfMonth (const xbString &Date8)
 Short description.
xbStringLastDayOfMonth ()
 Short description.
xbStringSysdate ()
 Short description.
xbStringJulToDate8 (long)
 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]
static const xbStringDays [7]
static 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 

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 Sep 11 18:22:10 2006 for Xbase Class Library by  doxygen 1.4.6