gmtdate.h File Reference
#include <time.h>
#include <genlib/util/util.h>
Go to the source code of this file.
Functions |
| int | ParseMonth (IN const char *monthStr, OUT int *charsRead, OUT int *fullNameMatch) |
| int | ParseDayOfWeek (IN const char *dayOfWeek, OUT int *charsRead, OUT int *fullNameMatch) |
| char * | DateToString (const struct tm *date) |
| int | ParseTime (const char *s, int *hour, int *minute, int *second) |
| int | ParseRFC850DateTime (IN const char *str, OUT struct tm *dateTime, OUT int *numCharsParsed) |
| int | ParseRFC1123DateTime (IN const char *str, OUT struct tm *dateTime, OUT int *numCharsParsed) |
| int | ParseAsctimeFmt (IN const char *str, OUT struct tm *dateTime, OUT int *numCharsParsed) |
| int | ParseDateTime (IN const char *str, OUT struct tm *dateTime, OUT int *numCharsParsed) |
Function Documentation
| char* DateToString |
( |
const struct tm * |
date |
) |
|
| int ParseAsctimeFmt |
( |
IN const char * |
str, |
|
|
OUT struct tm * |
dateTime, |
|
|
OUT int * |
numCharsParsed | |
|
) |
| | |
| int ParseDateTime |
( |
IN const char * |
str, |
|
|
OUT struct tm * |
dateTime, |
|
|
OUT int * |
numCharsParsed | |
|
) |
| | |
| int ParseDayOfWeek |
( |
IN const char * |
dayOfWeek, |
|
|
OUT int * |
charsRead, |
|
|
OUT int * |
fullNameMatch | |
|
) |
| | |
| int ParseMonth |
( |
IN const char * |
monthStr, |
|
|
OUT int * |
charsRead, |
|
|
OUT int * |
fullNameMatch | |
|
) |
| | |
| int ParseRFC1123DateTime |
( |
IN const char * |
str, |
|
|
OUT struct tm * |
dateTime, |
|
|
OUT int * |
numCharsParsed | |
|
) |
| | |
| int ParseRFC850DateTime |
( |
IN const char * |
str, |
|
|
OUT struct tm * |
dateTime, |
|
|
OUT int * |
numCharsParsed | |
|
) |
| | |
| int ParseTime |
( |
const char * |
s, |
|
|
int * |
hour, |
|
|
int * |
minute, |
|
|
int * |
second | |
|
) |
| | |