32 #ifndef GENLIB_UTIL_GMTDATE_H 33 #define GENLIB_UTIL_GMTDATE_H 36 #include <genlib/util/util.h> 48 int ParseMonth( IN
const char* monthStr,
49 OUT
int* charsRead, OUT
int* fullNameMatch );
57 int ParseDayOfWeek( IN
const char* dayOfWeek,
58 OUT
int* charsRead, OUT
int* fullNameMatch );
66 char* DateToString(
const struct tm* date );
70 int ParseTime(
const char* s,
int* hour,
int* minute,
int* second );
80 int ParseRFC850DateTime( IN
const char* str,
81 OUT
struct tm* dateTime, OUT
int* numCharsParsed );
83 int ParseRFC1123DateTime( IN
const char* str,
84 OUT
struct tm* dateTime, OUT
int* numCharsParsed );
86 int ParseAsctimeFmt( IN
const char* str,
87 OUT
struct tm* dateTime, OUT
int* numCharsParsed );
90 int ParseDateTime( IN
const char* str,
91 OUT
struct tm* dateTime, OUT
int* numCharsParsed );