#include <Time.hpp>
Public Methods | |
__inline | Time () |
__inline void | mark () |
__inline const char * | ascii () |
__inline int | delta (Time *dt) const |
__inline int | DaylightSavings () |
__inline int | DayOfYear () |
__inline int | DayOfWeek () |
__inline int | Since1900 () |
__inline int | Month () |
__inline int | DayOfMonth () |
__inline int | Hour () |
__inline int | Minute () |
__inline int | Second () |
Private Methods | |
__inline void | updateLocal () |
__inline void | updateAscii () |
Time (const Time &src) | |
Time & | operator= (const Time &right) |
Private Attributes | |
time_t | T |
tm | local |
char | Ascii [26] |
UCHAR | lflag |
UCHAR | aflag |
|
|
|
|
|
Definition at line 65 of file Time.cpp. 00066 { 00067 updateLocal(); 00068 return local.tm_mday; 00069 } |
|
Definition at line 45 of file Time.cpp. 00046 { 00047 updateLocal(); 00048 return local.tm_wday; 00049 } |
|
Definition at line 38 of file Time.cpp. 00039 { 00040 updateLocal(); 00041 return local.tm_yday; 00042 } |
|
Definition at line 31 of file Time.cpp. 00032 { 00033 updateLocal(); 00034 return local.tm_isdst; 00035 } |
|
Definition at line 72 of file Time.cpp. 00073 { 00074 updateLocal(); 00075 return local.tm_hour; 00076 } |
|
Definition at line 78 of file Time.cpp. 00079 { 00080 updateLocal(); 00081 return local.tm_min; 00082 } |
|
Definition at line 59 of file Time.cpp. 00060 { 00061 updateLocal(); 00062 return local.tm_mon; 00063 } |
|
Definition at line 84 of file Time.cpp. 00085 { 00086 updateLocal(); 00087 return local.tm_sec; 00088 } |
|
Definition at line 52 of file Time.cpp. 00053 { 00054 updateLocal(); 00055 return local.tm_year; 00056 } |
|
Definition at line 19 of file Time.cpp. 00020 { 00021 updateAscii(); 00022 return Ascii; 00023 } |
|
Definition at line 26 of file Time.cpp. 00027 { 00028 return difftime(T, dt->T); 00029 } |
|
Definition at line 12 of file Time.cpp. 00013 { 00014 lflag = 0; 00015 aflag = 0; 00016 time(&T); 00017 } |
|
|
|
Definition at line 98 of file Time.cpp. Referenced by ascii().
00099 { 00100 if ( !aflag ) { 00101 updateLocal(); 00102 strcpy( Ascii, asctime(&local) ); 00103 aflag++; 00104 } 00105 } |
|
Definition at line 90 of file Time.cpp. Referenced by DayOfMonth(), DayOfWeek(), DayOfYear(), DaylightSavings(), Hour(), Minute(), Month(), Second(), Since1900(), and updateAscii().
00091 { 00092 if ( !lflag ) { 00093 local = *localtime(&T); 00094 lflag++; 00095 } 00096 } |
|
|
|
Definition at line 34 of file Time.hpp. Referenced by delta().
|
|
|
|
|
|
|