|
sipxportlib
Version 3.3
|
#include <OsDateTimeLinux.h>


Public Member Functions | |
| OsDateTimeLinux () | |
| OsDateTimeLinux (const unsigned short year, const unsigned char month, const unsigned char day, const unsigned char hour, const unsigned char minute, const unsigned char second, const unsigned int microsecond) | |
| OsDateTimeLinux (const OsDateTimeLinux &rOsDateTimeLinux) | |
| OsDateTimeLinux (const OsTime &toTime) | |
| Convert an OsTime to an OsDateTime. More... | |
| virtual | ~OsDateTimeLinux () |
| OsDateTimeLinux & | operator= (const OsDateTimeLinux &rhs) |
| virtual OsStatus | cvtToTimeSinceBoot (OsTime &rTime) const |
| param: (in) tzOffsetSecs - local time offset (seconds relative to GMT) param: (in) dstRule - daylight savings time rule More... | |
Public Member Functions inherited from OsDateTimeBase | |
| virtual OsStatus | cvtToTimeSinceEpoch (OsTime &rTime) const |
| void | getDayOfWeek (int &dayOfWeek) |
| param: (in) year - 4 digit year param: (in) month - 0-11 param: (in) dayOfMonth - the day of the month 1-31 param: (out) dayOfWeek - the day of the week 0-6 More... | |
| unsigned int | getMicrosecond () const |
| param: (out) dayOfWeek - the day of the week 0-6 More... | |
| unsigned short | getYear () const |
| unsigned char | getMonth () const |
| unsigned char | getDay () const |
| unsigned char | getHour () const |
| unsigned char | getMinute () const |
| unsigned char | getSecond () const |
| virtual void | getHttpTimeString (UtlString &dataString) |
| void | getSqlTimeStringZ (UtlString &dateString) |
| Set the dateString to the time as UTC time in a Postgres compatible format: 2002-08-26 19:21:32.000. More... | |
| void | getIsoTimeStringZ (UtlString &dateString) |
| Set the dateString to the time as UTC time in the following format: 2002-08-26T19:21:32.000Z. More... | |
| void | getIsoTimeStringZus (UtlString &dateString) |
| Set the dateString to the time as UTC time in the following format: 2002-08-26T19:21:32.000000Z. More... | |
Static Public Member Functions | |
| static void | setTime (struct timespec gmt, int tzOffsetSecs, DstRule dstRule) |
| static void | setTimeZone (int tzOffsetSecs, DstRule dstRule) |
| param: (in) gmt - time relative to the beginning of 1970 (GMT) param: (in) tzOffsetSecs - local time offset (seconds relative to GMT) param: (in) dstRule - daylight savings time rule More... | |
| static void | getCurTime (OsDateTimeLinux &rDateTime) |
| static void | getCurTime (OsTime &rTime) |
| Return the current time as an OsTime value. More... | |
| static void | getCurTimeSinceBoot (OsTime &rTime) |
| static unsigned long | getSecsSinceEpoch (void) |
| static double | secondsSinceBoot (void) |
Static Public Member Functions inherited from OsDateTimeBase | |
| static long | tm2Epoch (const struct tm *t) |
| static long | convertHttpDateToEpoch (const char *date) |
| returns: the number of seconds since the begining of 1970. More... | |
| static void | setTime (struct timespec gmt) |
| returns: the number of seconds since the begining of 1970. More... | |
| static void | setTime (struct timespec gmt, int tzOffsetSecs, DstRule dstRule) |
| static void | setTimeZone (int tzOffsetSecs, DstRule dstRule) |
| param: (in) gmt - time relative to the beginning of 1970 (GMT) param: (in) tzOffsetSecs - local time offset (seconds relative to GMT) param: (in) dstRule - daylight savings time rule More... | |
| static void | getDayOfWeek (int year, int month, int dayOfMonth, int &dayOfWeek) |
| static void | getLocalTimeString (UtlString &dateString) |
| static void | getCurTime (OsDateTimeBase &rDateTime) |
| static void | getCurTime (OsTime &rTime) |
| static void | getCurTimeSinceBoot (OsTime &rTime) |
| static unsigned long | getSecsSinceEpoch (void) |
Additional Inherited Members | |
Public Types inherited from OsDateTimeBase | |
| enum | DstRule { DST_NONE, DST_NORTH_AMERICA, DST_WESTERN_EUROPE } |
Static Public Attributes inherited from OsDateTimeBase | |
| static const char * | spMonthStrings [12] |
| static const char * | spDayStrings [7] |
Protected Member Functions inherited from OsDateTimeBase | |
| OsDateTimeBase () | |
| OsDateTimeBase (const unsigned short year, const unsigned char month, const unsigned char day, const unsigned char hour, const unsigned char minute, const unsigned char second, const unsigned int microsecond) | |
| OsDateTimeBase (const OsDateTimeBase &rOsDateTime) | |
| virtual | ~OsDateTimeBase () |
| OsDateTimeBase & | operator= (const OsDateTimeBase &rhs) |
Protected Attributes inherited from OsDateTimeBase | |
| unsigned int | mMicrosecond |
| unsigned short | mYear |
| unsigned char | mMonth |
| unsigned char | mDay |
| unsigned char | mHour |
| unsigned char | mMinute |
| unsigned char | mSecond |
Static Protected Attributes inherited from OsDateTimeBase | |
| static DstRule | sDstRule = OsDateTimeBase::DST_NONE |
| static int | sDstYear = -1 |
| static int | sTzOffsetSecs = 0 |
| OsDateTimeLinux | ( | ) |
| OsDateTimeLinux | ( | const unsigned short | year, |
| const unsigned char | month, | ||
| const unsigned char | day, | ||
| const unsigned char | hour, | ||
| const unsigned char | minute, | ||
| const unsigned char | second, | ||
| const unsigned int | microsecond | ||
| ) |
| year | 4-digit year |
| OsDateTimeLinux | ( | const OsDateTimeLinux & | rOsDateTimeLinux | ) |
| OsDateTimeLinux | ( | const OsTime & | toTime | ) |
Convert an OsTime to an OsDateTime.
|
virtual |
| OsDateTimeLinux & operator= | ( | const OsDateTimeLinux & | rhs | ) |
|
static |
|
static |
param: (in) gmt - time relative to the beginning of 1970 (GMT) param: (in) tzOffsetSecs - local time offset (seconds relative to GMT) param: (in) dstRule - daylight savings time rule
param: (in) tzOffsetSecs - local time offset (seconds relative to GMT) param: (in) dstRule - daylight savings time rule
Implements OsDateTimeBase.
|
static |
|
static |
|
static |
|
static |
1.8.11