#include <RexxDateTime.hpp>
Public Member Functions | |
RexxDateTime () | |
RexxDateTime (int64_t basetime) | |
RexxDateTime (wholenumber_t basedate, bool dummy) | |
RexxDateTime (wholenumber_t year, wholenumber_t month, wholenumber_t day) | |
RexxDateTime (wholenumber_t year, wholenumber_t month, wholenumber_t day, wholenumber_t hour, wholenumber_t minutes, wholenumber_t seconds, wholenumber_t microseconds) | |
bool | isLeapYear () |
wholenumber_t | getBaseDate () |
wholenumber_t | getTimeSeconds () |
int64_t | getBaseTime () |
int64_t | getUTCBaseTime () |
int64_t | getUnixTime () |
wholenumber_t | getYearDay () |
wholenumber_t | getWeekDay () |
const char * | getMonthName () |
const char * | getDayName () |
bool | setBaseDate (wholenumber_t basedays) |
bool | setBaseTime (int64_t basetime) |
bool | setUnixTime (int64_t basetime) |
void | setTimeInSeconds (wholenumber_t basetime) |
void | clear () |
void | setDate (wholenumber_t newYear, wholenumber_t newDay) |
void | setDay (wholenumber_t basedays) |
bool | parseNormalDate (const char *date, const char *sep) |
bool | parseStandardDate (const char *date, const char *sep) |
bool | parseEuropeanDate (const char *date, const char *sep, wholenumber_t currentYear) |
bool | parseUsaDate (const char *date, const char *sep, wholenumber_t currentYear) |
bool | parseOrderedDate (const char *date, const char *sep, wholenumber_t currentYear) |
bool | parseNormalTime (const char *date) |
bool | parseCivilTime (const char *date) |
bool | parseLongTime (const char *date) |
bool | setHours (wholenumber_t h) |
bool | setSeconds (wholenumber_t s) |
bool | setMinutes (wholenumber_t m) |
bool | adjustTimeZone (int64_t o) |
void | formatBaseDate (char *buffer, size_t size) |
void | formatBaseTime (char *buffer) |
void | formatUnixTime (char *buffer) |
void | formatDays (char *buffer, size_t size) |
void | formatEuropeanDate (char *buffer, size_t size, const char *sep) |
void | formatMonthName (char *buffer) |
void | formatNormalDate (char *buffer, size_t size, const char *sep) |
void | formatOrderedDate (char *buffer, size_t size, const char *sep) |
void | formatStandardDate (char *buffer, size_t size, const char *sep) |
void | formatUsaDate (char *buffer, size_t size, const char *sep) |
void | formatWeekDay (char *buffer) |
void | formatCivilTime (char *buffer, size_t size) |
void | formatHours (char *buffer, size_t size) |
void | formatLongTime (char *buffer, size_t size) |
void | formatMinutes (char *buffer, size_t size) |
void | formatNormalTime (char *buffer, size_t size) |
void | formatSeconds (char *buffer, size_t size) |
void | formatTimeZone (char *buffer) |
void | setTimeZoneOffset (int64_t o) |
int64_t | getTimeZoneOffset () |
Public Attributes | |
bool | valid |
int | year |
int | month |
int | day |
int | hours |
int | minutes |
int | seconds |
int | microseconds |
int64_t | timeZoneOffset |
Protected Member Functions | |
bool | parseDateTimeFormat (const char *date, const char *format, const char *sep, wholenumber_t currentYear) |
bool | getNumber (const char *input, wholenumber_t length, int *target) |
bool | getNumber (const char *input, wholenumber_t length, int *target, int max) |
Static Protected Attributes | |
static const char * | dayNames [] |
static const char * | monthNames [] |
static int | monthStarts [] |
static int | leapMonthStarts [] |
static int | monthdays [] |
static RexxDateTime | unixBaseTime |
static RexxDateTime | maxBaseTime |
Definition at line 110 of file RexxDateTime.hpp.
RexxDateTime::RexxDateTime | ( | ) |
Default constructor for a RexxDateTime instance. This initializes the time to all zeros.
Definition at line 101 of file RexxDateTime.cpp.
References clear().
RexxDateTime::RexxDateTime | ( | int64_t | basetime | ) |
Create a RexxDateTime instance from a basetime value.
basetime | The basetime for this instance. |
Definition at line 112 of file RexxDateTime.cpp.
References clear(), and setBaseTime().
RexxDateTime::RexxDateTime | ( | wholenumber_t | basedate, |
bool | dummy | ||
) |
Create a RexxDateTime instance from a baseDate value.
basedate | |
dummy | Dummy argument to allow constructor overload to work. |
Definition at line 127 of file RexxDateTime.cpp.
References clear(), and setBaseDate().
RexxDateTime::RexxDateTime | ( | wholenumber_t | y, |
wholenumber_t | m, | ||
wholenumber_t | d | ||
) |
Create a RexxDateTime instance from a year/month/day value.
y | The current year. |
m | The month. |
d | The day. |
Definition at line 141 of file RexxDateTime.cpp.
RexxDateTime::RexxDateTime | ( | wholenumber_t | y, |
wholenumber_t | m, | ||
wholenumber_t | d, | ||
wholenumber_t | h, | ||
wholenumber_t | i, | ||
wholenumber_t | s, | ||
wholenumber_t | u | ||
) |
Create a RexxDateTime instance from a fully resolved date time value.
y | The date year. |
m | The date month. |
d | The date day. |
h | The time hour. |
i | The time minues |
s | The time secons. |
u | The time microseconds. |
Definition at line 162 of file RexxDateTime.cpp.
References day, hours, microseconds, minutes, month, seconds, valid, and year.
bool RexxDateTime::adjustTimeZone | ( | int64_t | o | ) |
Adjust the timestamp to a new timezone offset.
o | The offset value (in microseconds) |
Definition at line 734 of file RexxDateTime.cpp.
References getUTCBaseTime(), setBaseTime(), and timeZoneOffset.
Referenced by BUILTIN().
void RexxDateTime::clear | ( | ) |
Clear all of the values within a time object. This will reset the time to an invalid time value.
Definition at line 420 of file RexxDateTime.cpp.
References day, hours, microseconds, minutes, month, seconds, valid, and year.
Referenced by BUILTIN(), RexxDateTime(), setBaseDate(), and setTimeInSeconds().
void RexxDateTime::formatBaseDate | ( | char * | buffer, |
size_t | size | ||
) |
Format a base date into human readable form.
buffer | The target buffer for the output. |
Definition at line 1139 of file RexxDateTime.cpp.
References getBaseDate().
Referenced by BUILTIN().
void RexxDateTime::formatBaseTime | ( | char * | buffer | ) |
Format a base time into human readable form.
buffer | The target buffer for the output. |
Definition at line 1151 of file RexxDateTime.cpp.
References Numerics::formatInt64(), and getBaseTime().
Referenced by BUILTIN().
void RexxDateTime::formatCivilTime | ( | char * | buffer, |
size_t | size | ||
) |
Format a time in 'C'ivil format.
buffer | The target buffer for the output. |
Definition at line 1290 of file RexxDateTime.cpp.
References ANTEMERIDIAN, hours, minutes, and POSTMERIDIAN.
Referenced by BUILTIN().
void RexxDateTime::formatDays | ( | char * | buffer, |
size_t | size | ||
) |
Format a date as the number of days in the current year.
buffer | The target buffer for the output. |
Definition at line 1173 of file RexxDateTime.cpp.
References getYearDay().
Referenced by BUILTIN().
void RexxDateTime::formatEuropeanDate | ( | char * | buffer, |
size_t | size, | ||
const char * | sep | ||
) |
Format a date in 'E'uropean format.
buffer | The target buffer for the output. |
sep | The separator character used for the fields. This value can be NULL, in which case the default is used. The string value can also be a null string (""). |
Definition at line 1188 of file RexxDateTime.cpp.
References day, month, and year.
Referenced by BUILTIN().
void RexxDateTime::formatHours | ( | char * | buffer, |
size_t | size | ||
) |
Format a time in 'H'ours format.
buffer | The target buffer for the output. |
Definition at line 1310 of file RexxDateTime.cpp.
References hours.
Referenced by BUILTIN().
void RexxDateTime::formatLongTime | ( | char * | buffer, |
size_t | size | ||
) |
Format a time in 'L'ong format.
buffer | The target buffer for the output. |
Definition at line 1321 of file RexxDateTime.cpp.
References hours, microseconds, minutes, and seconds.
Referenced by BUILTIN().
void RexxDateTime::formatMinutes | ( | char * | buffer, |
size_t | size | ||
) |
Format a time in 'M'inutes format.
buffer | The target buffer for the output. |
Definition at line 1332 of file RexxDateTime.cpp.
References hours, minutes, and MINUTES_IN_HOUR.
Referenced by BUILTIN().
void RexxDateTime::formatMonthName | ( | char * | buffer | ) |
Format a date as the name of the current month.
buffer | The target buffer for the output. |
Definition at line 1201 of file RexxDateTime.cpp.
References getMonthName().
Referenced by BUILTIN().
void RexxDateTime::formatNormalDate | ( | char * | buffer, |
size_t | size, | ||
const char * | sep | ||
) |
Format a date in 'N'ormal format.
buffer | The target buffer for the output. |
sep | The separator character used for the fields. This value can be NULL, in which case the default is used. The string value can also be a null string (""). |
Definition at line 1215 of file RexxDateTime.cpp.
References day, month, monthNames, and year.
Referenced by BUILTIN().
void RexxDateTime::formatNormalTime | ( | char * | buffer, |
size_t | size | ||
) |
void RexxDateTime::formatOrderedDate | ( | char * | buffer, |
size_t | size, | ||
const char * | sep | ||
) |
Format a date in 'O'rdered format.
buffer | The target buffer for the output. |
sep | The separator character used for the fields. This value can be NULL, in which case the default is used. The string value can also be a null string (""). |
Definition at line 1231 of file RexxDateTime.cpp.
References day, month, and year.
Referenced by BUILTIN().
void RexxDateTime::formatSeconds | ( | char * | buffer, |
size_t | size | ||
) |
Format a time in 'S'econds format.
buffer | The target buffer for the output. |
Definition at line 1354 of file RexxDateTime.cpp.
References hours, minutes, MINUTES_IN_HOUR, seconds, and SECONDS_IN_MINUTE.
Referenced by BUILTIN().
void RexxDateTime::formatStandardDate | ( | char * | buffer, |
size_t | size, | ||
const char * | sep | ||
) |
Format a date in 'S'tandard format.
buffer | The target buffer for the output. |
sep | The separator character used for the fields. This value can be NULL, in which case the default is used. The string value can also be a null string (""). |
Definition at line 1247 of file RexxDateTime.cpp.
References day, month, and year.
Referenced by BUILTIN().
void RexxDateTime::formatTimeZone | ( | char * | buffer | ) |
Format a the time zone offset value
buffer | The target buffer for the output. |
Definition at line 1365 of file RexxDateTime.cpp.
References Numerics::formatInt64(), and timeZoneOffset.
Referenced by BUILTIN().
void RexxDateTime::formatUnixTime | ( | char * | buffer | ) |
Format a unix time into human readable form.
buffer | The target buffer for the output. |
Definition at line 1162 of file RexxDateTime.cpp.
References Numerics::formatInt64(), and getUnixTime().
Referenced by BUILTIN().
void RexxDateTime::formatUsaDate | ( | char * | buffer, |
size_t | size, | ||
const char * | sep | ||
) |
Format a date in 'U'sa format.
buffer | The target buffer for the output. |
sep | The separator character used for the fields. This value can be NULL, in which case the default is used. The string value can also be a null string (""). |
Definition at line 1263 of file RexxDateTime.cpp.
References day, month, and year.
Referenced by BUILTIN().
void RexxDateTime::formatWeekDay | ( | char * | buffer | ) |
Format a date as the name of the current day.
buffer | The target buffer for the output. |
Definition at line 1278 of file RexxDateTime.cpp.
References getDayName().
Referenced by BUILTIN().
wholenumber_t RexxDateTime::getBaseDate | ( | ) |
Retrieve the basedate from the timestamp. The basedate is the number of days since 01 Jan 0001, calculated using a Gregorian calendar system for the entire date range.
Definition at line 182 of file RexxDateTime.cpp.
References getYearDay(), and year.
Referenced by formatBaseDate(), getBaseTime(), getWeekDay(), and setBaseDate().
int64_t RexxDateTime::getBaseTime | ( | ) |
Calculate the basetime, returned as the number of microseconds since 00:00:00.000000 on 01 Jan 0001. The basetime is calculated using the same Gregorian calendar system used to calculate the basedate.
Definition at line 213 of file RexxDateTime.cpp.
References getBaseDate(), getTimeSeconds(), MICROSECONDS, microseconds, and SECONDS_IN_DAY.
Referenced by formatBaseTime(), RexxActivity::generateRandomNumberSeed(), getUnixTime(), getUTCBaseTime(), setBaseTime(), and setUnixTime().
const char * RexxDateTime::getDayName | ( | ) |
Return the current day of the week, as a name.
Definition at line 510 of file RexxDateTime.cpp.
References dayNames, and getWeekDay().
Referenced by formatWeekDay().
const char * RexxDateTime::getMonthName | ( | ) |
Get the name of the timestamp month, as a string.
Definition at line 521 of file RexxDateTime.cpp.
References month, and monthNames.
Referenced by formatMonthName().
|
protected |
Internal routine used to extract short number fields from a date/time format.
input | The current input position. |
length | The length of the field. |
target | The returned integer value. |
Definition at line 1082 of file RexxDateTime.cpp.
Referenced by getNumber(), and parseDateTimeFormat().
|
protected |
Internal method for parsing short numeric fields from a date/time value.
input | The current input position. |
length | The length of the field. |
target | The returned value. |
max | The max value range for the parsed number. |
Definition at line 1119 of file RexxDateTime.cpp.
References getNumber().
wholenumber_t RexxDateTime::getTimeSeconds | ( | ) |
Get the time in seconds from midnight in the current timestamp day.
Definition at line 199 of file RexxDateTime.cpp.
References hours, minutes, MINUTES_IN_HOUR, seconds, and SECONDS_IN_MINUTE.
Referenced by getBaseTime().
|
inline |
Definition at line 171 of file RexxDateTime.hpp.
References timeZoneOffset.
Referenced by BUILTIN().
int64_t RexxDateTime::getUnixTime | ( | ) |
Calculate the basetime, returned as the number of seconds since 00:00:00.000000 on 01 Jan 1970. The basetime is calculated using the same Gregorian calendar system used to calculate the basedate. Times prior to 01 Jan 1970 are returned as a negative number.
Definition at line 248 of file RexxDateTime.cpp.
References getBaseTime(), MICROSECONDS, and unixBaseTime.
Referenced by formatUnixTime().
int64_t RexxDateTime::getUTCBaseTime | ( | ) |
Return this time as a UTC timestamp (adjusted for the timezone offset);
Definition at line 233 of file RexxDateTime.cpp.
References getBaseTime(), and timeZoneOffset.
Referenced by adjustTimeZone(), BUILTIN(), RexxActivation::getElapsed(), and RexxActivation::getTime().
wholenumber_t RexxDateTime::getWeekDay | ( | ) |
Return the day in the week as an integer value. Sundy is 0, Monday is 1, etc.
Definition at line 499 of file RexxDateTime.cpp.
References getBaseDate().
Referenced by getDayName().
wholenumber_t RexxDateTime::getYearDay | ( | ) |
Return the number of days since the start of the year.
Definition at line 480 of file RexxDateTime.cpp.
References day, isLeapYear(), month, and monthStarts.
Referenced by formatDays(), and getBaseDate().
|
inline |
Definition at line 120 of file RexxDateTime.hpp.
References CENTURY, LEAP_CYCLE, OLYMPIAD, and year.
Referenced by getYearDay(), and parseDateTimeFormat().
bool RexxDateTime::parseCivilTime | ( | const char * | time | ) |
Parse a time in 'C'ivil format into the timestamp.
date | The string version of the date. |
Definition at line 632 of file RexxDateTime.cpp.
References parseDateTimeFormat().
Referenced by BUILTIN().
|
protected |
Parse an input date or time vs. a format template that describes the various fields.
Format specifiers are:
'/' A sepaarator is expected (passed in) 'm' Start of a month specification 'd' Start of a day specification 'y' Start of a 2-digit year spec 'Y' Start of a 4-digit year spec 'M' Start of a "named" 3 character month 'h' Start of a 12-hour hour field 'H' Start of a 24-hour hour field 'i' Start of a mInutes field 's' Start of a seconds field 'u' Start of a microseconds field 'C' Start of a Civil time meridian designation 'c' Start of a Civil time hour (no leading blanks) ':' ':' expected at this position '.' '.' expected at this position
date | The input date (or time). |
format | The format the date/time is expected to be in. |
sep | A variable separator character expected to be found in the input. Separators are marked with "/" in the format template. The separator can be a null string "". |
currentYear | The current year value (used for formats that don't include century information). |
Definition at line 778 of file RexxDateTime.cpp.
References ANTEMERIDIAN, CENTURY, CHAR_MONTH, day, DAY_SIZE, FEBRUARY, FUTURE_THRESHOLD, getNumber(), hours, HOURS_SIZE, isLeapYear(), LEAPMONTH, LONG_YEAR, MAXCIVILHOURS, MAXHOURS, MAXMINUTES, MAXSECONDS, MICRO_SIZE, microseconds, minutes, MINUTES_SIZE, month, MONTH_SIZE, monthdays, monthNames, MONTHS, PAST_THRESHOLD, POSTMERIDIAN, seconds, SECONDS_SIZE, SHORT_YEAR, and year.
Referenced by parseCivilTime(), parseEuropeanDate(), parseLongTime(), parseNormalDate(), parseNormalTime(), parseOrderedDate(), parseStandardDate(), and parseUsaDate().
bool RexxDateTime::parseEuropeanDate | ( | const char * | date, |
const char * | sep, | ||
wholenumber_t | currentYear | ||
) |
Parse a date in 'E'uropean format into the timestamp.
date | The string version of the date. |
sep | The field separator character used in the date. This argument can be NULL, which means use the default separator. |
currentYear | The current year used to fill in the centuries portion of the date. |
Definition at line 570 of file RexxDateTime.cpp.
References parseDateTimeFormat().
Referenced by BUILTIN().
bool RexxDateTime::parseLongTime | ( | const char * | time | ) |
Parse a time in 'L'ong format into the timestamp.
date | The string version of the date. |
Definition at line 645 of file RexxDateTime.cpp.
References parseDateTimeFormat().
Referenced by BUILTIN().
bool RexxDateTime::parseNormalDate | ( | const char * | date, |
const char * | sep | ||
) |
Parse a date in 'N'ormal format into the timestamp.
date | The string version of the date. |
sep | The field separator character used in the date. This argument can be NULL, which means use the default separator. |
Definition at line 536 of file RexxDateTime.cpp.
References parseDateTimeFormat().
Referenced by BUILTIN().
bool RexxDateTime::parseNormalTime | ( | const char * | time | ) |
Parse a time in 'N'ormal format into the timestamp.
date | The string version of the date. |
Definition at line 619 of file RexxDateTime.cpp.
References parseDateTimeFormat().
Referenced by BUILTIN().
bool RexxDateTime::parseOrderedDate | ( | const char * | date, |
const char * | sep, | ||
wholenumber_t | currentYear | ||
) |
Parse a date in 'O'rderd format into the timestamp.
date | The string version of the date. |
sep | The field separator character used in the date. This argument can be NULL, which means use the default separator. |
currentYear | The current year used to fill in the centuries portion of the date. |
Definition at line 606 of file RexxDateTime.cpp.
References parseDateTimeFormat().
Referenced by BUILTIN().
bool RexxDateTime::parseStandardDate | ( | const char * | date, |
const char * | sep | ||
) |
Parse a date in 'S'tandard format into the timestamp.
date | The string version of the date. |
sep | The field separator character used in the date. This argument can be NULL, which means use the default separator. |
Definition at line 552 of file RexxDateTime.cpp.
References parseDateTimeFormat().
Referenced by BUILTIN().
bool RexxDateTime::parseUsaDate | ( | const char * | date, |
const char * | sep, | ||
wholenumber_t | currentYear | ||
) |
Parse a date in 'U'sa format into the timestamp.
date | The string version of the date. |
sep | The field separator character used in the date. This argument can be NULL, which means use the default separator. |
currentYear | The current year used to fill in the centuries portion of the date. |
Definition at line 588 of file RexxDateTime.cpp.
References parseDateTimeFormat().
Referenced by BUILTIN().
bool RexxDateTime::setBaseDate | ( | wholenumber_t | base | ) |
Set the date from a basedate value. The basedate is the number of days since 01 Jan 0001.
basedays | The basedays value (must be a positive integer). |
Definition at line 261 of file RexxDateTime.cpp.
References BASE_DAYS, CENTURY, CENTURY_DAYS, clear(), day, getBaseDate(), LEAP_CYCLE, LEAP_DAYS, leapMonthStarts, LeapYear, maxBaseTime, month, monthStarts, OLYMPIAD, OLYMPIAD_DAYS, year, and YEAR_DAYS.
Referenced by BUILTIN(), RexxDateTime(), and setBaseTime().
bool RexxDateTime::setBaseTime | ( | int64_t | basetime | ) |
Set the date and time from a basetime value. The basetime is the number of microseconds from 00:00:00 on 01 Jan 0001.
basetime | The input timestamp, in microseconds. |
Definition at line 355 of file RexxDateTime.cpp.
References getBaseTime(), hours, maxBaseTime, MICROSECONDS, microseconds, MICROSECONDS_IN_DAY, minutes, seconds, SECONDS_IN_HOUR, SECONDS_IN_MINUTE, and setBaseDate().
Referenced by adjustTimeZone(), BUILTIN(), RexxDateTime(), and setUnixTime().
void RexxDateTime::setDate | ( | wholenumber_t | newYear, |
wholenumber_t | newDay | ||
) |
Set the date value using a year/day in year pair.
newYear | The year to set. |
newDay | The day within the year to set. |
Definition at line 438 of file RexxDateTime.cpp.
References setDay(), and year.
Referenced by BUILTIN().
void RexxDateTime::setDay | ( | wholenumber_t | basedays | ) |
Set the day in the year from a day offset. The year must be valid in the timestamp for this to work properly, as it is necessary to know if the current year is a leap year to properly calculate the month and day.
basedays | The days from the start of the year. |
Definition at line 454 of file RexxDateTime.cpp.
References day, leapMonthStarts, LeapYear, month, monthStarts, and year.
Referenced by setDate().
bool RexxDateTime::setHours | ( | wholenumber_t | h | ) |
Set the time from an hours value. This sets all other time elements to zero.
h | The hours value. |
Definition at line 660 of file RexxDateTime.cpp.
References hours, HOURS_IN_DAY, microseconds, minutes, and seconds.
Referenced by BUILTIN().
bool RexxDateTime::setMinutes | ( | wholenumber_t | m | ) |
Set the time from a minutes value. This sets the hour and minute values. The seconds and microseconds field are set to zero.
m | The minutes value. |
Definition at line 710 of file RexxDateTime.cpp.
References hours, microseconds, minutes, MINUTES_IN_DAY, MINUTES_IN_HOUR, and seconds.
Referenced by BUILTIN().
bool RexxDateTime::setSeconds | ( | wholenumber_t | s | ) |
Set the time from a seconds value. This sets the hour and minute values. The microseconds field is set to zero.
s | The seconds value. |
Definition at line 683 of file RexxDateTime.cpp.
References hours, microseconds, minutes, seconds, SECONDS_IN_DAY, SECONDS_IN_HOUR, and SECONDS_IN_MINUTE.
Referenced by BUILTIN().
void RexxDateTime::setTimeInSeconds | ( | wholenumber_t | basetime | ) |
Set the time stamp using the number of seconds since midnight.
basetime | The basetime, in seconds. |
Definition at line 405 of file RexxDateTime.cpp.
References clear(), hours, minutes, seconds, SECONDS_IN_HOUR, and SECONDS_IN_MINUTE.
|
inline |
Definition at line 170 of file RexxDateTime.hpp.
References timeZoneOffset.
Referenced by BUILTIN().
bool RexxDateTime::setUnixTime | ( | int64_t | basetime | ) |
Set the date and time from a unix time value. The unix time is the number of seconds from 00:00:00 on 01 Jan 1970. The value may be either positive or negative.
basetime | The input timestamp, in seconds. |
Definition at line 391 of file RexxDateTime.cpp.
References getBaseTime(), MICROSECONDS, setBaseTime(), and unixBaseTime.
Referenced by BUILTIN().
int RexxDateTime::day |
Definition at line 176 of file RexxDateTime.hpp.
Referenced by BUILTIN(), clear(), formatEuropeanDate(), formatNormalDate(), formatOrderedDate(), formatStandardDate(), formatUsaDate(), SystemInterpreter::getCurrentTime(), getYearDay(), parseDateTimeFormat(), RexxDateTime(), setBaseDate(), and setDay().
|
staticprotected |
Definition at line 189 of file RexxDateTime.hpp.
Referenced by getDayName().
int RexxDateTime::hours |
Definition at line 177 of file RexxDateTime.hpp.
Referenced by clear(), formatCivilTime(), formatHours(), formatLongTime(), formatMinutes(), formatNormalTime(), formatSeconds(), SystemInterpreter::getCurrentTime(), getTimeSeconds(), parseDateTimeFormat(), RexxDateTime(), setBaseTime(), setHours(), setMinutes(), setSeconds(), and setTimeInSeconds().
|
staticprotected |
Definition at line 192 of file RexxDateTime.hpp.
Referenced by setBaseDate(), and setDay().
|
staticprotected |
Definition at line 195 of file RexxDateTime.hpp.
Referenced by setBaseDate(), and setBaseTime().
int RexxDateTime::microseconds |
Definition at line 180 of file RexxDateTime.hpp.
Referenced by clear(), formatLongTime(), getBaseTime(), SystemInterpreter::getCurrentTime(), parseDateTimeFormat(), RexxDateTime(), setBaseTime(), setHours(), setMinutes(), and setSeconds().
int RexxDateTime::minutes |
Definition at line 178 of file RexxDateTime.hpp.
Referenced by clear(), formatCivilTime(), formatLongTime(), formatMinutes(), formatNormalTime(), formatSeconds(), SystemInterpreter::getCurrentTime(), getTimeSeconds(), parseDateTimeFormat(), RexxDateTime(), setBaseTime(), setHours(), setMinutes(), setSeconds(), and setTimeInSeconds().
int RexxDateTime::month |
Definition at line 175 of file RexxDateTime.hpp.
Referenced by BUILTIN(), clear(), formatEuropeanDate(), formatNormalDate(), formatOrderedDate(), formatStandardDate(), formatUsaDate(), SystemInterpreter::getCurrentTime(), getMonthName(), getYearDay(), parseDateTimeFormat(), RexxDateTime(), setBaseDate(), and setDay().
|
staticprotected |
Definition at line 193 of file RexxDateTime.hpp.
Referenced by parseDateTimeFormat().
|
staticprotected |
Definition at line 190 of file RexxDateTime.hpp.
Referenced by formatNormalDate(), getMonthName(), and parseDateTimeFormat().
|
staticprotected |
Definition at line 191 of file RexxDateTime.hpp.
Referenced by getYearDay(), setBaseDate(), and setDay().
int RexxDateTime::seconds |
Definition at line 179 of file RexxDateTime.hpp.
Referenced by clear(), formatLongTime(), formatNormalTime(), formatSeconds(), SystemInterpreter::getCurrentTime(), getTimeSeconds(), parseDateTimeFormat(), RexxDateTime(), setBaseTime(), setHours(), setMinutes(), setSeconds(), and setTimeInSeconds().
int64_t RexxDateTime::timeZoneOffset |
Definition at line 181 of file RexxDateTime.hpp.
Referenced by adjustTimeZone(), formatTimeZone(), SystemInterpreter::getCurrentTime(), getTimeZoneOffset(), getUTCBaseTime(), and setTimeZoneOffset().
|
staticprotected |
Definition at line 194 of file RexxDateTime.hpp.
Referenced by getUnixTime(), and setUnixTime().
bool RexxDateTime::valid |
Definition at line 173 of file RexxDateTime.hpp.
Referenced by clear(), RexxActivation::getTime(), RexxActivation::RexxActivation(), RexxDateTime(), and RexxActivation::run().
int RexxDateTime::year |
Definition at line 174 of file RexxDateTime.hpp.
Referenced by BUILTIN(), clear(), formatEuropeanDate(), formatNormalDate(), formatOrderedDate(), formatStandardDate(), formatUsaDate(), getBaseDate(), SystemInterpreter::getCurrentTime(), isLeapYear(), parseDateTimeFormat(), RexxDateTime(), setBaseDate(), setDate(), and setDay().