
#include <cascade/util/CascadeTime.h>
Inheritance diagram for CascadeTime:

Public Types | |
| typedef bool() | TimeZoneEnumProc (const TimeZone &timeZone, void *pClientData) |
Public Member Functions | |
| CascadeTime () | |
| CascadeTime (const CascadeTime &that) | |
| CascadeTime (const DateStruct &dateStruct) | |
| virtual | ~CascadeTime () |
| void | GetTimeGMT () |
| bool | GetTimeLocal (const char *pTimeZoneID=NULL) |
| bool | GMT2Local (const char *pTimeZoneID=NULL) |
| bool | Local2GMT (const char *pTimeZoneID=NULL) |
| void | GetDateStruct (DateStruct &dateStructToSet) const |
| bool | SetDateStruct (const DateStruct &dateStruct) |
| bool | IsDaylightSavingsTime (const char *pTimeZoneID=NULL) const |
| u64 | GetSeconds () const |
| u64 | GetMilliseconds () const |
| u64 | GetMicroseconds () const |
| u64 | GetNanoseconds () const |
| void | SetSeconds (u64 nSeconds) |
| void | SetMilliseconds (u64 nMilliseconds) |
| void | SetMicroseconds (u64 nMicroseconds) |
| void | SetNanoseconds (u64 nNanoseconds) |
| void | AddSeconds (u64 nSeconds) |
| void | AddMilliseconds (u64 nMilliseconds) |
| void | AddMicroseconds (u64 nMicroseconds) |
| void | AddNanoseconds (u64 nNanoSeconds) |
| void | SubtractSeconds (u64 nSeconds) |
| void | SubtractMilliseconds (u64 nMilliseconds) |
| void | SubtractMicroseconds (u64 nMicroseconds) |
| void | SubtractNanoseconds (u64 nNanoseconds) |
| bool | operator< (const CascadeTime &that) const |
| bool | operator> (const CascadeTime &that) const |
| bool | operator<= (const CascadeTime &that) const |
| bool | operator>= (const CascadeTime &that) const |
| bool | operator== (const CascadeTime &that) const |
Static Public Member Functions | |
| static u64 | GetUptimeMilliseconds () |
| static u64 | GetUptimeNanoseconds () |
| static void | GetSystemClockTimeBase (TimeBase &timeBaseToSet) |
| static bool | SetSystemClockTimeBase (const TimeBase &timeBase) |
| static void | GetPresentTimeBase (TimeBase &timeBaseToSet) |
| static bool | SetSystemTimeGMT (const u64 &nGMTNanosecondOffsetFrom1970) |
| static void | GetSystemTimeZoneID (CascadeString &timeZoneIDToSet) |
| static bool | SetSystemTimeZoneID (const char *pTimeZoneID) |
| static bool | GetTimeZoneFromID (const char *pTimeZoneID, TimeZone &timeZoneToSet) |
| static bool | EnumerateTimeZones (TimeZoneEnumProc *pEnumProc, void *pClientData) |
Protected Attributes | |
| u64 | m_nNanoseconds |
Classes | |
| struct | DateStruct |
| struct | TimeBase |
| struct | TimeZone |
CascadeTime is intended to provide access to time functionality but is currently unimplemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1