|
|
const Date & | date () const |
| |
|
Date & | date () |
| |
|
const Time & | time () const |
| |
|
Time & | time () |
| |
|
int | year () const |
| |
|
int & | year () |
| |
|
int | month () const |
| |
|
int & | month () |
| |
|
int | day () const |
| |
|
int & | day () |
| |
|
int | hour () const |
| |
|
int & | hour () |
| |
|
int | minute () const |
| |
|
int & | minute () |
| |
|
double | second () const |
| |
|
double & | second () |
| |
|
int | dayOfYear () const |
| |
|
int | dayOfWeek () const |
| |
|
void | setYear (int year) |
| |
|
void | setMonth (int month) |
| |
|
void | setDay (int day) |
| |
|
void | setHour (int hour) |
| |
|
void | setMinute (int minute) |
| |
|
void | setSecond (double second) |
| |
|
void | normalize () |
| |
|
void | normalizeUTC () |
| |
|
void | normalizeLocal (int timezone) |
| |
|
void | normalizeBJT () |
| |
|
DateTime | normalized () const |
| |
|
DateTime | normalizedUTC () const |
| |
|
DateTime | normalizedLocal (int timezone) const |
| |
|
DateTime | normalizedBJT () const |
| |
|
std::string | toString (int precision=3) const |
| |
|
void | addYears (int years) |
| |
|
void | addMonths (int months) |
| |
|
void | addDays (int days) |
| |
|
void | addDaysUTC (int days) |
| |
|
void | addDaysLocal (int days, int timezone) |
| |
|
void | addDaysBJT (int days) |
| |
|
void | addHours (int hours) |
| |
|
void | addHoursUTC (int hours) |
| |
|
void | addHoursLocal (int hours, int timezone) |
| |
|
void | addHoursBJT (int hours) |
| |
|
void | addMinutes (int minutes) |
| |
|
void | addMinutesUTC (int minutes) |
| |
|
void | addMinutesLocal (int minutes, int timezone) |
| |
|
void | addMinutesBJT (int minutes) |
| |
|
void | addSeconds (double seconds) |
| |
|
void | addSecondsUTC (double seconds) |
| |
|
void | addSecondsLocal (double seconds, int timezone) |
| |
|
void | addSecondsBJT (double seconds) |
| |
|
DateTime & | operator+= (double sec) |
| |
|
DateTime & | operator-= (double sec) |
| |
|
DateTime | operator+ (double sec) const |
| |
|
DateTime | operator- (double sec) const |
| |