29 #ifndef _RTXDATETIME_H_ 30 #define _RTXDATETIME_H_ 64 (
const OSNumDateTime* pvalue, OSUTF8CHAR* buffer,
size_t bufsize);
82 (
const OSNumDateTime* pvalue, OSUTF8CHAR* buffer,
size_t bufsize);
100 (
const OSNumDateTime* pvalue, OSUTF8CHAR* buffer,
size_t bufsize);
117 (
const OSNumDateTime* pvalue, OSUTF8CHAR* buffer,
size_t bufsize);
135 (
const OSNumDateTime* pvalue, OSUTF8CHAR* buffer,
size_t bufsize);
152 (
const OSNumDateTime* pvalue, OSUTF8CHAR* buffer,
size_t bufsize);
170 (
const OSNumDateTime* pvalue, OSUTF8CHAR* buffer,
size_t bufsize);
187 (
const OSNumDateTime* pvalue, OSUTF8CHAR* buffer,
size_t bufsize);
215 (
char* buffer, OSSIZE bufsize, OSBOOL local);
229 (
const OSNumDateTime* pvalue1,
const OSNumDateTime* pvalue2);
247 (
const OSNumDateTime* pvalue,
248 OSINT32 year, OSUINT8 mon, OSUINT8 day, OSBOOL tzflag, OSINT32 tzo);
262 (
const OSNumDateTime* pvalue1,
const OSNumDateTime* pvalue2);
280 (
const OSNumDateTime* pvalue,
281 OSUINT8 hour, OSUINT8 min, OSREAL sec, OSBOOL tzflag, OSINT32 tzo);
295 (
const OSNumDateTime* pvalue1,
const OSNumDateTime* pvalue2);
316 (
const OSNumDateTime* pvalue,
317 OSINT32 year, OSUINT8 mon, OSUINT8 day,
318 OSUINT8 hour, OSUINT8 min, OSREAL sec, OSBOOL tzflag, OSINT32 tzo);
345 (
const OSUTF8CHAR* inpdata,
size_t inpdatalen, OSNumDateTime* pvalue);
383 (
const OSUTF8CHAR* inpdata,
size_t inpdatalen, OSNumDateTime* pvalue);
402 (
const OSUTF8CHAR* inpdata,
size_t inpdatalen, OSNumDateTime* pvalue);
420 (
const OSUTF8CHAR* inpdata,
size_t inpdatalen, OSNumDateTime* pvalue);
439 (
const OSUTF8CHAR* inpdata,
size_t inpdatalen, OSNumDateTime* pvalue);
458 (
const OSUTF8CHAR* inpdata,
size_t inpdatalen, OSNumDateTime* pvalue);
477 (
const OSUTF8CHAR* inpdata,
size_t inpdatalen, OSNumDateTime* pvalue);
496 (
const OSUTF8CHAR* inpdata,
size_t inpdatalen, OSNumDateTime* pvalue);
510 (OSINT32 msecs, OSUTF8CHAR* buf, OSUINT32 bufsize);
527 (OSUTF8CHAR* buf, OSUINT32 bufsize, OSINT32* msecs);
540 EXTERNRT
int rtxSetDateTime (OSNumDateTime* pvalue,
struct tm* timeStruct);
552 EXTERNRT
int rtxGetGMTime (
struct tm* pvalue, time_t timeMs);
606 EXTERNRT
int rtxGetDateTime (
const OSNumDateTime* pvalue, time_t* timeMs);
645 EXTERNRT
int rtxAscTime(
char* buffer, OSSIZE bufsize,
struct tm* pvalue);
int rtxGetDateTime(const OSNumDateTime *pvalue, time_t *timeMs)
int rtxParseGYearMonthString(const OSUTF8CHAR *inpdata, size_t inpdatalen, OSNumDateTime *pvalue)
int rtxSetUtcDateTime(OSNumDateTime *pvalue, time_t timeMs)
int rtxParseDateTimeString(const OSUTF8CHAR *inpdata, size_t inpdatalen, OSNumDateTime *pvalue)
int rtxAscTime(char *buffer, OSSIZE bufsize, struct tm *pvalue)
int rtxParseGMonthDayString(const OSUTF8CHAR *inpdata, size_t inpdatalen, OSNumDateTime *pvalue)
int rtxGDayToString(const OSNumDateTime *pvalue, OSUTF8CHAR *buffer, size_t bufsize)
int rtxTimeToString(const OSNumDateTime *pvalue, OSUTF8CHAR *buffer, size_t bufsize)
int rtxMSecsToDuration(OSINT32 msecs, OSUTF8CHAR *buf, OSUINT32 bufsize)
int rtxParseDateString(const OSUTF8CHAR *inpdata, size_t inpdatalen, OSNumDateTime *pvalue)
int rtxGetLocalTime(struct tm *pvalue, time_t timeMs)
int rtxCmpTime(const OSNumDateTime *pvalue1, const OSNumDateTime *pvalue2)
int rtxGMonthToString(const OSNumDateTime *pvalue, OSUTF8CHAR *buffer, size_t bufsize)
int rtxParseTimeString(const OSUTF8CHAR *inpdata, size_t inpdatalen, OSNumDateTime *pvalue)
int rtxSetDateTime(OSNumDateTime *pvalue, struct tm *timeStruct)
int rtxCmpDate(const OSNumDateTime *pvalue1, const OSNumDateTime *pvalue2)
int rtxDateTimeToString(const OSNumDateTime *pvalue, OSUTF8CHAR *buffer, size_t bufsize)
int rtxGYearMonthToString(const OSNumDateTime *pvalue, OSUTF8CHAR *buffer, size_t bufsize)
OSBOOL rtxDateTimeIsValid(const OSNumDateTime *pvalue)
OSBOOL rtxTimeIsValid(const OSNumDateTime *pvalue)
int rtxGetCurrDateTime(OSNumDateTime *pvalue)
int rtxDurationToMSecs(OSUTF8CHAR *buf, OSUINT32 bufsize, OSINT32 *msecs)
int rtxParseGMonthString(const OSUTF8CHAR *inpdata, size_t inpdatalen, OSNumDateTime *pvalue)
int rtxDateToString(const OSNumDateTime *pvalue, OSUTF8CHAR *buffer, size_t bufsize)
int rtxGetGMTime(struct tm *pvalue, time_t timeMs)
int rtxSetLocalDateTime(OSNumDateTime *pvalue, time_t timeMs)
int rtxParseGDayString(const OSUTF8CHAR *inpdata, size_t inpdatalen, OSNumDateTime *pvalue)
int rtxParseGYearString(const OSUTF8CHAR *inpdata, size_t inpdatalen, OSNumDateTime *pvalue)
int rtxGYearToString(const OSNumDateTime *pvalue, OSUTF8CHAR *buffer, size_t bufsize)
int rtxGetCurrDateTimeString(char *buffer, OSSIZE bufsize, OSBOOL local)
int rtxCmpTime2(const OSNumDateTime *pvalue, OSUINT8 hour, OSUINT8 min, OSREAL sec, OSBOOL tzflag, OSINT32 tzo)
int rtxGMonthDayToString(const OSNumDateTime *pvalue, OSUTF8CHAR *buffer, size_t bufsize)
int rtxCmpDate2(const OSNumDateTime *pvalue, OSINT32 year, OSUINT8 mon, OSUINT8 day, OSBOOL tzflag, OSINT32 tzo)
int rtxCmpDateTime2(const OSNumDateTime *pvalue, OSINT32 year, OSUINT8 mon, OSUINT8 day, OSUINT8 hour, OSUINT8 min, OSREAL sec, OSBOOL tzflag, OSINT32 tzo)
int rtxCmpDateTime(const OSNumDateTime *pvalue1, const OSNumDateTime *pvalue2)
OSBOOL rtxDateIsValid(const OSNumDateTime *pvalue)