|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
A PsyTime timestamp or time difference broken down into calendar fields. More...
#include <PsyTime.h>
Public Attributes | |
| uint32 | usec |
| uint32 | msec |
| uint16 | sec |
| uint16 | min |
| uint16 | hour |
| uint16 | day |
| uint16 | mon |
| uint16 | year |
| uint16 | wday |
| uint16 | yday |
| bool | negative |
| bool | dst |
| int32 | dstsec |
| int32 | tzsec |
| char | zonename [64] |
A PsyTime timestamp or time difference broken down into calendar fields.
Equivalent of struct tm for the PsyTime timescale, extended with sub-second fields and timezone/DST information. Produced by GetDateAndTime(), GetDateAndTimeUTC() and GetTimeDifference(); converted back with GetTimeFromPsyDateAndTime(). Note the 1-based conventions for day-of-week, month and day-of-year (index 0 means "none" in the name tables above).
| uint16 cmlabs::PsyDateAndTime::day |
Definition at line 156 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), cmlabs::GetHTTPTime(), cmlabs::GetTimeDifference(), cmlabs::GetTimeFromPsyDateAndTime(), cmlabs::GetTimeFromString(), cmlabs::PrintDate(), cmlabs::PrintDateSortable(), cmlabs::PrintDateSortableDelimiter(), cmlabs::PrintTime(), cmlabs::PrintTimeDif(), cmlabs::PrintTimeSortable(), cmlabs::PrintTimeSortableMicrosec(), and cmlabs::PrintTimeSortableMillisec().
| bool cmlabs::PsyDateAndTime::dst |
Definition at line 162 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime().
| int32 cmlabs::PsyDateAndTime::dstsec |
Definition at line 163 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), and cmlabs::PsyTime_UnitTest().
| uint16 cmlabs::PsyDateAndTime::hour |
Definition at line 155 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), cmlabs::GetHTTPTime(), cmlabs::GetTimeDifference(), cmlabs::GetTimeFromPsyDateAndTime(), cmlabs::GetTimeFromString(), cmlabs::PrintTime(), cmlabs::PrintTimeDif(), cmlabs::PrintTimeOnly(), cmlabs::PrintTimeSortable(), cmlabs::PrintTimeSortableMicrosec(), cmlabs::PrintTimeSortableMillisec(), and cmlabs::PsyTime_UnitTest().
| uint16 cmlabs::PsyDateAndTime::min |
Definition at line 154 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), cmlabs::GetHTTPTime(), cmlabs::GetTimeDifference(), cmlabs::GetTimeFromPsyDateAndTime(), cmlabs::GetTimeFromString(), cmlabs::PrintTime(), cmlabs::PrintTimeDif(), cmlabs::PrintTimeOnly(), cmlabs::PrintTimeSortable(), cmlabs::PrintTimeSortableMicrosec(), cmlabs::PrintTimeSortableMillisec(), and cmlabs::PsyTime_UnitTest().
| uint16 cmlabs::PsyDateAndTime::mon |
Definition at line 157 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), cmlabs::GetHTTPTime(), cmlabs::GetTimeDifference(), cmlabs::GetTimeFromPsyDateAndTime(), cmlabs::GetTimeFromString(), cmlabs::PrintDate(), cmlabs::PrintDateSortable(), cmlabs::PrintDateSortableDelimiter(), cmlabs::PrintTime(), cmlabs::PrintTimeDif(), cmlabs::PrintTimeSortable(), cmlabs::PrintTimeSortableMicrosec(), and cmlabs::PrintTimeSortableMillisec().
| uint32 cmlabs::PsyDateAndTime::msec |
Definition at line 152 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), cmlabs::GetTimeDifference(), cmlabs::GetTimeFromString(), cmlabs::PrintTime(), cmlabs::PrintTimeOnly(), cmlabs::PrintTimeSortableMicrosec(), and cmlabs::PrintTimeSortableMillisec().
| bool cmlabs::PsyDateAndTime::negative |
Definition at line 161 of file PsyTime.h.
Referenced by cmlabs::GetTimeDifference(), and cmlabs::PsyTime_UnitTest().
| uint16 cmlabs::PsyDateAndTime::sec |
Definition at line 153 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), cmlabs::GetHTTPTime(), cmlabs::GetTimeDifference(), cmlabs::GetTimeFromPsyDateAndTime(), cmlabs::GetTimeFromString(), cmlabs::PrintTime(), cmlabs::PrintTimeDif(), cmlabs::PrintTimeOnly(), cmlabs::PrintTimeSortable(), cmlabs::PrintTimeSortableMicrosec(), cmlabs::PrintTimeSortableMillisec(), and cmlabs::PsyTime_UnitTest().
| int32 cmlabs::PsyDateAndTime::tzsec |
Definition at line 164 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), and cmlabs::PsyTime_UnitTest().
| uint32 cmlabs::PsyDateAndTime::usec |
Definition at line 151 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), cmlabs::GetTimeDifference(), cmlabs::GetTimeFromString(), cmlabs::PrintTime(), cmlabs::PrintTimeDif(), cmlabs::PrintTimeOnly(), cmlabs::PrintTimeSortableMicrosec(), and cmlabs::PsyTime_UnitTest().
| uint16 cmlabs::PsyDateAndTime::wday |
Definition at line 159 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), and cmlabs::GetHTTPTime().
| uint16 cmlabs::PsyDateAndTime::yday |
Definition at line 160 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), cmlabs::GetTimeDifference(), and cmlabs::PrintTimeDif().
| uint16 cmlabs::PsyDateAndTime::year |
Definition at line 158 of file PsyTime.h.
Referenced by cmlabs::GetDateAndTime(), cmlabs::GetHTTPTime(), cmlabs::GetTimeDifference(), cmlabs::GetTimeFromPsyDateAndTime(), cmlabs::GetTimeFromString(), cmlabs::PrintDate(), cmlabs::PrintDateSortable(), cmlabs::PrintDateSortableDelimiter(), cmlabs::PrintTime(), cmlabs::PrintTimeDif(), cmlabs::PrintTimeSortable(), cmlabs::PrintTimeSortableMicrosec(), and cmlabs::PrintTimeSortableMillisec().
| char cmlabs::PsyDateAndTime::zonename[64] |
Definition at line 165 of file PsyTime.h.
Referenced by _wrap_PsyDateAndTime_zonename_set(), _wrap_PsyDateAndTime_zonename_set(), cmlabs::GetDateAndTime(), and Java_com_cmlabs_cmsdk_cmsdkJNI_PsyDateAndTime_1zonename_1set().