|
| const zfstring & | ZFTypeId_ZFTimeValue (void) |
| | see ZFTYPEID_DECLARE
|
| |
|
zfbool | ZFTimeValueFromDataT (_ZFP_PropTypeW_ZFTimeValue &v, const ZFSerializableData &serializableData, zfstring *outErrorHint=zft_zfnull, ZFSerializableData *outErrorPos=zft_zfnull) |
| | see ZFTYPEID_DECLARE
|
| |
|
_ZFP_PropTypeW_ZFTimeValue | ZFTimeValueFromData (const ZFSerializableData &serializableData, zfstring *outErrorHint=zft_zfnull, ZFSerializableData *outErrorPos=zft_zfnull) |
| | see ZFTYPEID_DECLARE
|
| |
|
zfbool | ZFTimeValueToDataT (ZFSerializableData &serializableData, _ZFP_PropTypeW_ZFTimeValue const &v, zfstring *outErrorHint=zft_zfnull) |
| | see ZFTYPEID_DECLARE
|
| |
|
ZFSerializableData | ZFTimeValueToData (_ZFP_PropTypeW_ZFTimeValue const &v, zfstring *outErrorHint=zft_zfnull) |
| | see ZFTYPEID_DECLARE
|
| |
|
zfbool | ZFTimeValueFromStringT (_ZFP_PropTypeW_ZFTimeValue &v, const zfchar *src, zfindex srcLen=((zfindex) -1), zfstring *errorHint=zft_zfnull) |
| | util method to convert ZFTimeValue from string
|
| |
|
_ZFP_PropTypeW_ZFTimeValue | ZFTimeValueFromString (const zfchar *src, zfindex srcLen=((zfindex) -1), zfstring *errorHint=zft_zfnull) |
| | util method to convert ZFTimeValue from string
|
| |
|
zfbool | ZFTimeValueToStringT (zfstring &s, _ZFP_PropTypeW_ZFTimeValue const &v, zfstring *errorHint=zft_zfnull) |
| | util method to convert ZFTimeValue to string
|
| |
|
zfstring | ZFTimeValueToString (_ZFP_PropTypeW_ZFTimeValue const &v, zfstring *errorHint=zft_zfnull) |
| | util method to convert ZFTimeValue to string
|
| |
|
ZFTimeValue const & | ZFTimeValueZero (void) |
| | a zero time value
|
| |
|
ZFTimeValue | ZFTimeValueCreate (zftimet sec, zftimet usec) |
| | make a time value
|
| |
| ZFTimeValue | ZFTimeValueFromMiliSeconds (zftimet t) |
| | convert between ZFTimeValue and zftimet (in miliseconds)
|
| |
| zftimet | ZFTimeValueToMiliSeconds (const ZFTimeValue &v) |
| | convert between ZFTimeValue and zftimet (in miliseconds)
|
| |
|
void | ZFTimeValueNormalize (ZFTimeValue &v) |
| | normalize time value
|
| |
|
void | ZFTimeValueDec (ZFTimeValue &result, const ZFTimeValue &tv1, const ZFTimeValue &tv2) |
| | return tv1 - tv2
|
| |
|
ZFTimeValue | ZFTimeValueDec (const ZFTimeValue &tv1, const ZFTimeValue &tv2) |
| | return tv1 - tv2
|
| |
|
void | ZFTimeValueInc (ZFTimeValue &result, const ZFTimeValue &tv1, const ZFTimeValue &tv2) |
| | return tv1 + tv2
|
| |
|
ZFTimeValue | ZFTimeValueInc (const ZFTimeValue &tv1, const ZFTimeValue &tv2) |
| | return tv1 + tv2
|
| |
|
void | ZFTimeValueMul (ZFTimeValue &result, const ZFTimeValue &tv, zfindex v) |
| | return tv * v
|
| |
|
ZFTimeValue | ZFTimeValueMul (const ZFTimeValue &tv, zfindex v) |
| | return tv * v
|
| |
|
void | ZFTimeValueDiv (ZFTimeValue &result, const ZFTimeValue &tv, zfindex v) |
| | return tv / v, assert fail if v is 0
|
| |
|
ZFTimeValue | ZFTimeValueDiv (const ZFTimeValue &tv, zfindex v) |
| | return tv / v, assert fail if v is 0
|
| |
| ZFCompareResult | ZFTimeValueCompare (const ZFTimeValue &tv1, const ZFTimeValue &tv2) |
| | compare two ZFTimeValue
|
| |
| zfbool | ZFTimeValueToStringFriendlyT (zfstring &s, ZFTimeValue const &v) |
| | convert ZFTimeValue to more readable string, see ZFTimeValueToString
|
| |
|
zfstring | ZFTimeValueToStringFriendly (ZFTimeValue const &v) |
| | see ZFTimeValueToStringFriendlyT
|
| |
| const zfstring & | ZFTypeId_ZFTimeInfo (void) |
| |
|
ZFTimeInfo const & | ZFTimeInfoZero (void) |
| | a zero time info (1970-01-01 00:00:00.000 000)
|
| |
|
ZFTimeInfo | ZFTimeInfoCreate (zfint const &year, zfuint const &month, zfuint const &day, zfuint const &hour, zfuint const &minute, zfuint const &second, zfuint const &miliSecond, zfuint const µSecond) |
| | make a time info, you should make sure value is valid
|
| |
|
zfbool | ZFTimeInfoToStringT (zfstring &s, ZFTimeInfo const &v) |
| | convert ZFTimeInfo to string
|
| |
|
zfstring | ZFTimeInfoToString (ZFTimeInfo const &v) |
| | see ZFTimeInfoToStringT
|
| |