#include <ctype.h>#include <string.h>#include <stdio.h>#include <time.h>#include <stdlib.h>#include <inttypes.h>#include "abyss_date.h"

Go to the source code of this file.
Functions | |
| int32_t | DateCompare (TDate *d1, TDate *d2) |
| abyss_bool | DateDecode (const char *const dateString, TDate *const tmP) |
| abyss_bool | DateFromGMT (TDate *d, time_t t) |
| abyss_bool | DateFromLocal (TDate *d, time_t t) |
| abyss_bool | DateInit (void) |
| abyss_bool | DateToLogString (TDate *const tmP, char *const s) |
| abyss_bool | DateToString (TDate *tm, char *s) |
Variables | |
| static char * | _DateDay [7] |
| static char * | _DateMonth [12] |
| static int32_t | _DateTimeBias = 0 |
| static char | _DateTimeBiasStr [6] = "" |
Definition at line 169 of file abyss_date.c.
Referenced by fileDate(), ServerDirectoryHandler(), and ServerFileHandler().
| abyss_bool DateDecode | ( | const char *const | dateString, | |
| TDate *const | tmP | |||
| ) |
| abyss_bool DateFromGMT | ( | TDate * | d, | |
| time_t | t | |||
| ) |
| abyss_bool DateFromLocal | ( | TDate * | d, | |
| time_t | t | |||
| ) |
Definition at line 198 of file abyss_date.c.
References _DateTimeBias, and DateFromGMT().
Referenced by DateToLogString(), and fileDate().
| abyss_bool DateInit | ( | void | ) |
Definition at line 206 of file abyss_date.c.
References _DateTimeBias, _DateTimeBiasStr, DateFromGMT(), FALSE, and TRUE.
Referenced by normalLevelAbyssRun(), oldHighLevelAbyssRun(), xmlrpc_process(), and xmlrpc_server_abyss_init().
| abyss_bool DateToLogString | ( | TDate *const | tmP, | |
| char *const | s | |||
| ) |
Definition at line 77 of file abyss_date.c.
References _DateMonth, _DateTimeBiasStr, DateFromLocal(), FALSE, and TRUE.
Referenced by SessionLog().
| abyss_bool DateToString | ( | TDate * | tm, | |
| char * | s | |||
| ) |
Definition at line 60 of file abyss_date.c.
References _DateDay, _DateMonth, FALSE, and TRUE.
Referenced by addDateHeader(), ServerDirectoryHandler(), and ServerFileHandler().
char* _DateDay[7] [static] |
Initial value:
{
"Sun","Mon","Tue","Wed","Thu","Fri","Sat"
}
Definition at line 47 of file abyss_date.c.
Referenced by DateToString().
char* _DateMonth[12] [static] |
Initial value:
{
"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"
}
Definition at line 52 of file abyss_date.c.
Referenced by DateDecode(), DateToLogString(), and DateToString().
int32_t _DateTimeBias = 0 [static] |
char _DateTimeBiasStr[6] = "" [static] |
1.5.6