#include <Date_Time.h>
Public Methods | |
ACE_Date_Time (void) | |
Constructor initializes current time/date info. | |
ACE_EXPLICIT | ACE_Date_Time (const ACE_Time_Value &timevalue) |
Constructor initializes with the given ACE_Time_Value. | |
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. | |
void | update (const ACE_Time_Value &timevalue) |
Update to the given ACE_Time_Value. | |
long | day (void) const |
Get day. | |
void | day (long day) |
Set day. | |
long | month (void) const |
Get month. | |
void | month (long month) |
Set month. | |
long | year (void) const |
Get year. | |
void | year (long year) |
Set year. | |
long | hour (void) const |
Get hour. | |
void | hour (long hour) |
Set hour. | |
long | minute (void) const |
Get minute. | |
void | minute (long minute) |
Set minute. | |
long | second (void) const |
Get second. | |
void | second (long second) |
Set second. | |
long | microsec (void) const |
Get microsec. | |
void | microsec (long microsec) |
Set microsec. | |
long | weekday (void) const |
Get weekday. | |
void | weekday (long wday) |
Set weekday. | |
Private Attributes | |
long | day_ |
long | month_ |
long | year_ |
long | hour_ |
long | minute_ |
long | second_ |
long | microsec_ |
long | wday_ |
|
Constructor initializes current time/date info.
|
|
Constructor initializes with the given ACE_Time_Value.
|
|
Constructor with init values, no check for validy Set/get portions of ACE_Date_Time, no check for validity. |
|
Set day.
|
|
Get day.
|
|
Set hour.
|
|
Get hour.
|
|
Set microsec.
|
|
Get microsec.
|
|
Set minute.
|
|
Get minute.
|
|
Set month.
|
|
Get month.
|
|
Set second.
|
|
Get second.
|
|
Update to the given ACE_Time_Value.
|
|
Update to the current time/date.
|
|
Set weekday.
|
|
Get weekday.
|
|
Set year.
|
|
Get year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|