#include <vdkdate.h>
| calendardate::calendardate | ( | int | mode = mmddyyyy |
) |
Constructor, uses system date
| mode | date format
|
| calendardate::calendardate | ( | int | day, | |
| int | month, | |||
| int | year, | |||
| int | mode = mmddyyyy | |||
| ) | [inline] |
Constructor
| day | ||
| month | ||
| year | ||
| mode | date format
|
| calendardate::calendardate | ( | long | julian, | |
| int | mode = mmddyyyy | |||
| ) | [inline] |
Constructor
| julian | jiulian date | |
| mode | date format
|
| calendardate::calendardate | ( | char * | s, | |
| int | mode = mmddyyyy, |
|||
| char * | sep = ".-/" | |||
| ) |
Constructor
| s | date string | |
| mode | date format
| |
| sep | separator char |
| virtual calendardate::~calendardate | ( | ) | [inline, virtual] |
Destructor
| calendardate::operator long | ( | ) | [inline] |
Return date as julian date
| int calendardate::DayIndex | ( | ) | [inline] |
Returns day index: 0 = sunday, 1 = monday,... 6 = saturday
| int calendardate::Day | ( | ) | [inline] |
Returns day
| int calendardate::Month | ( | ) | [inline] |
Returns month
| int calendardate::Year | ( | ) | [inline] |
Returns year
| char * calendardate::CalendarDate | ( | ) |
Returns an internal buffer formatted in "week-day month day year" format.
| calendardate calendardate::operator+ | ( | long | d | ) | [inline] |
date operations
| calendardate::operator char * | ( | ) |
Returns an internal buffer formatted in "dd/mm/yyyy" or "mm/dd/yyyy" format, do not modify directly this buffer, copy it before use
| char * calendardate::AsString | ( | ) |
Returns an internal buffer formatted in "yyyymmdd" format, do not modify directly this buffer, copy it before use
| bool calendardate::Valid | ( | ) | [inline] |
validation
| bool calendardate::operator== | ( | calendardate & | d | ) | [inline] |
relational operations
1.5.5