ACE
6.3.3
|
System independent representation of date and time. More...
#include <Date_Time.h>
Public Member Functions | |
ACE_Date_Time (void) | |
Constructor initializes current time/date info. More... | |
ACE_Date_Time (const ACE_Time_Value &timevalue) | |
Constructor initializes with the given ACE_Time_Value. More... | |
ACE_Date_Time (long day, long month=0, long year=0, long hour=0, long minute=0, long second=0, long microsec=0, long wday=0) | |
void | update (void) |
Update to the current time/date. More... | |
void | update (const ACE_Time_Value &timevalue) |
Update to the given ACE_Time_Value. More... | |
long | day (void) const |
Get day. More... | |
void | day (long day) |
Set day. More... | |
long | month (void) const |
Get month. More... | |
void | month (long month) |
Set month. More... | |
long | year (void) const |
Get year. More... | |
void | year (long year) |
Set year. More... | |
long | hour (void) const |
Get hour. More... | |
void | hour (long hour) |
Set hour. More... | |
long | minute (void) const |
Get minute. More... | |
void | minute (long minute) |
Set minute. More... | |
long | second (void) const |
Get second. More... | |
void | second (long second) |
Set second. More... | |
long | microsec (void) const |
Get microsec. More... | |
void | microsec (long microsec) |
Set microsec. More... | |
long | weekday (void) const |
Get weekday. More... | |
void | weekday (long wday) |
Set weekday. More... | |
Private Attributes | |
long | day_ |
long | month_ |
long | year_ |
long | hour_ |
long | minute_ |
long | second_ |
long | microsec_ |
long | wday_ |
System independent representation of date and time.
|
inline |
Constructor initializes current time/date info.
|
inlineexplicit |
Constructor initializes with the given ACE_Time_Value.
|
inline |
Constructor with init values, no check for validy Set/get portions of ACE_Date_Time, no check for validity.
|
inline |
Get day.
|
inline |
Set day.
|
inline |
Get hour.
|
inline |
Set hour.
|
inline |
Get microsec.
|
inline |
Set microsec.
|
inline |
Get minute.
|
inline |
Set minute.
|
inline |
Get month.
|
inline |
Set month.
|
inline |
Get second.
|
inline |
Set second.
|
inline |
Update to the current time/date.
|
inline |
Update to the given ACE_Time_Value.
|
inline |
Get weekday.
|
inline |
Set weekday.
|
inline |
Get year.
|
inline |
Set year.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |