#include <string>
Include dependency graph for util_mit.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
string | date_time_str (time_t *calendar, bool local=false) |
time_t | parse_time (const char *str, bool expand=true) |
|
Given a time in seconds since midnight 1 Jan 1970, return the RFC 1123 date string. Example result string: Sun, 06 Nov 1994 08:49:37 GMT
Definition at line 281 of file util_mit.cc. |
|
Parse a string in GMT format to a local time time_t representation Four formats are accepted: Wkd, 00 Mon 0000 00:00:00 GMT (rfc1123) Weekday, 00-Mon-00 00:00:00 GMT (rfc850) Wkd Mon 00 00:00:00 0000 GMT (ctime) 1*DIGIT (delta-seconds) Copied from libwww. 09/19/02 jhrg
Definition at line 129 of file util_mit.cc. References DBG. Referenced by HTTPCache::get_always_validate(). |