Inheritance diagram for Ux::Timetm:
Definition at line 82 of file uxtimetm.hpp.
Public Member Functions | |
Timetm (time_t t=0) | |
operator const char * () | |
void | set (const struct tm &t) |
time_t | mktime (void) |
const char * | asctime (bool keep_nl=true) |
void | getdate (const char *s) |
void | gmtime (const time_t *t=NULL) |
void | gmtime (time_t t) |
void | localtime (const time_t *t=NULL) |
void | localtime (time_t t) |
char * | strptime (const char *s, const char *format) |
size_t | strftime (char *buf, size_t bufsize, const char *format) |
size_t | wcsftime (wchar_t *buf, size_t bufsize, const wchar_t *format) |
Protected Attributes | |
Timestr | str |
|
Initializes to local time (at epoch by default). Definition at line 90 of file uxtimetm.hpp. References localtime(). |
|
Definition at line 37 of file uxtimetm.cpp. References str, and Ux::Timestr::timestr. Referenced by operator const char *(). |
|
Definition at line 46 of file uxtimetm.cpp. References EC_GETDATE, and set(). |
|
Version of gmtime that takes a time_t instead of a pointer to one. Definition at line 104 of file uxtimetm.hpp. References gmtime(). |
|
Definition at line 55 of file uxtimetm.cpp. Referenced by gmtime(). |
|
Version of localtime that takes a time_t instead of a pointer to one. Definition at line 110 of file uxtimetm.hpp. References localtime(). |
|
Definition at line 67 of file uxtimetm.cpp. Referenced by localtime(), and Timetm(). |
|
Definition at line 24 of file uxtimetm.cpp. References errno. |
|
Definition at line 94 of file uxtimetm.hpp. References asctime(). |
|
Definition at line 79 of file uxtimetm.cpp. References Ux::Timestr::clear(), str, tm::tm_hour, tm::tm_isdst, tm::tm_mday, tm::tm_min, tm::tm_mon, tm::tm_sec, tm::tm_wday, tm::tm_yday, and tm::tm_year. Referenced by getdate(). |
|
Definition at line 106 of file uxtimetm.cpp. References errno. |
|
Definition at line 93 of file uxtimetm.cpp. References errno. |
|
Definition at line 119 of file uxtimetm.cpp. References errno. |
|
Definition at line 84 of file uxtimetm.hpp. |