#include <numbers.h>
Inheritance diagram for Date::

Public Methods | |
| Date (time_t tm) | |
| Date (tm *dt) | |
| Date (char *str, size_t size=0) | |
| Date (int year, unsigned month, unsigned day) | |
| Date () | |
| int | getYear (void) |
| unsigned | getMonth (void) |
| unsigned | getDay (void) |
| unsigned | getDayOfWeek (void) |
| char * | getDate (char *buffer) |
| time_t | getDate (void) |
| long | getValue (void) |
| tm * | getDate (tm *buf) |
| bool | is_ok (void) |
| operator long () | |
| std::string | operator() () |
| Date & | operator++ () |
| Date & | operator-- () |
| Date & | operator+= (long val) |
| Date & | operator-= (long val) |
| int | operator== (Date &date) |
| int | operator!= (Date &date) |
| int | operator< (Date &date) |
| int | operator<= (Date &date) |
| int | operator> (Date &date) |
| int | operator>= (Date &date) |
| bool | operator! () |
Protected Methods | |
| void | toJulian (long year, long month, long day) |
| void | fromJulian (char *buf) |
| virtual void | Update (void) |
| A method to use to "post" any changed values when shadowing a mixed object class. More... | |
Friends | |
| Date | operator+ (Date &date, long val) |
| Date | operator- (Date &date, long val) |
| Date | operator+ (long val, Date &date) |
| Date | operator- (long val, Date &date) |
This is then manipulated in several forms and may be exported as needed.
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
A method to use to "post" any changed values when shadowing a mixed object class. This is used by DateNumber. Reimplemented in DateNumber. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
1.2.10 written by Dimitri van Heesch,
© 1997-2001