Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXDate.h>
Public Types | |
enum | { Sun = 0, Mon, Tue, Wed, Thu, Fri, Sat } |
Public Member Functions | |
FXDate () | |
FXDate (const FXDate &date) | |
FXDate (FXint y, FXint m, FXint d) | |
FXDate (FXuint j) | |
void | setJulian (FXuint day) |
FXuint | getJulian () const |
void | setDate (FXint y, FXint m, FXint d) |
void | getDate (FXint &y, FXint &m, FXint &d) const |
FXint | day () const |
FXint | month () const |
FXint | year () const |
FXint | dayOfWeek () const |
FXint | dayOfYear () const |
FXint | daysInMonth () const |
bool | leapYear () const |
FXDate & | operator= (const FXDate &date) |
FXDate & | operator+= (FXint x) |
FXDate & | operator-= (FXint x) |
FXDate & | operator++ () |
FXDate & | operator-- () |
bool | operator== (const FXDate &date) const |
bool | operator!= (const FXDate &date) const |
bool | operator< (const FXDate &date) const |
bool | operator<= (const FXDate &date) const |
bool | operator> (const FXDate &date) const |
bool | operator>= (const FXDate &date) const |
Static Public Member Functions | |
static bool | leapYear (FXint y) |
static const FXchar * | monthName (FXint month) |
static const FXchar * | monthNameShort (FXint month) |
static const FXchar * | dayName (FXint day) |
static const FXchar * | dayNameShort (FXint day) |
static FXDate | localDate () |
static FXDate | zuluDate () |
Friends | |
FXDate | operator+ (const FXDate &d, FXint x) |
FXDate | operator+ (FXint x, const FXDate &d) |
FXint | operator- (const FXDate &a, const FXDate &b) |
FXStream & | operator<< (FXStream &store, const FXDate &d) |
FXStream & | operator>> (FXStream &store, FXDate &d) |
|
Names for the weekdays.
|
|
Default constructor.
|
|
Copy constructor.
|
|
Initialize with year, month, and day.
|
|
Initialize with julian day number.
|
|
Set julian day number.
|
|
Get julian day number.
|
|
Set to year, month, and day.
|
|
Get year, month, and day.
|
|
Return day of the month.
|
|
Return month.
|
|
Return year.
|
|
Return day of the week.
|
|
Return day of year.
|
|
Return days in this month.
|
|
Return true if leap year.
|
|
Is the value a leap year.
|
|
Get the name of the month.
|
|
Get the abbreviated name of the month.
|
|
Get the name of the day.
|
|
Get the abbreviated name of the day.
|
|
Return current local date.
|
|
Return current UTC (Zulu) date.
|
|
Assignment.
|
|
Assignment operators.
|
|
|
|
Increment and decrement.
|
|
|
|
Equality tests.
|
|
|
|
Inequality tests.
|
|
|
|
|
|
|
|
Add days to date yielding another date.
|
|
|
|
Substract dates yielding days.
|
|
save to stream
|
|
load from stream
|
Copyright © 1997-2005 Jeroen van der Zijp |