# ACE_Date_Time Class Reference

System independent representation of date and time. More...

`#include <Date_Time.h>`

List of all members.

## Public Member Functions

| ACE_Date_Time (void)
| Constructor initializes current time/date info.
| 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_

## Detailed Description

System independent representation of date and time.

## Constructor & Destructor Documentation

ACE_INLINE ACE_Date_Time::ACE_Date_Time | ( | void |  | ) |

| Constructor initializes current time/date info.

ACE_INLINE ACE_Date_Time::ACE_Date_Time | ( | const ACE_Time_Value & | timevalue | ) | `[explicit]`

| Constructor initializes with the given ACE_Time_Value.

ACE_INLINE ACE_Date_Time::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`
| ) |

| Constructor with init values, no check for validy Set/get portions of ACE_Date_Time, no check for validity.

## Member Function Documentation

ACE_INLINE void ACE_Date_Time::day | ( | long | day | ) |

| Set day.

ACE_INLINE long ACE_Date_Time::day | ( | void |  | ) | const

| Get day.

ACE_INLINE void ACE_Date_Time::hour | ( | long | hour | ) |

| Set hour.

ACE_INLINE long ACE_Date_Time::hour | ( | void |  | ) | const

| Get hour.

ACE_INLINE void ACE_Date_Time::microsec | ( | long | microsec | ) |

| Set microsec.

ACE_INLINE long ACE_Date_Time::microsec | ( | void |  | ) | const

| Get microsec.

ACE_INLINE void ACE_Date_Time::minute | ( | long | minute | ) |

| Set minute.

ACE_INLINE long ACE_Date_Time::minute | ( | void |  | ) | const

| Get minute.

ACE_INLINE void ACE_Date_Time::month | ( | long | month | ) |

| Set month.

ACE_INLINE long ACE_Date_Time::month | ( | void |  | ) | const

| Get month.

ACE_INLINE void ACE_Date_Time::second | ( | long | second | ) |

| Set second.

ACE_INLINE long ACE_Date_Time::second | ( | void |  | ) | const

| Get second.

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void ACE_Date_Time::update | ( | const ACE_Time_Value & | timevalue | ) |

| Update to the given ACE_Time_Value.

ACE_INLINE void ACE_Date_Time::update | ( | void |  | ) |

| Update to the current time/date.

ACE_INLINE void ACE_Date_Time::weekday | ( | long | wday | ) |

| Set weekday.

ACE_INLINE long ACE_Date_Time::weekday | ( | void |  | ) | const

| Get weekday.

ACE_INLINE void ACE_Date_Time::year | ( | long | year | ) |

| Set year.

ACE_INLINE long ACE_Date_Time::year | ( | void |  | ) | const

| Get year.

## Member Data Documentation

long ACE_Date_Time::day_`[private]`

long ACE_Date_Time::hour_`[private]`

long ACE_Date_Time::microsec_`[private]`

long ACE_Date_Time::minute_`[private]`

long ACE_Date_Time::month_`[private]`

long ACE_Date_Time::second_`[private]`

long ACE_Date_Time::wday_`[private]`

long ACE_Date_Time::year_`[private]`

The documentation for this class was generated from the following files:

- Date_Time.h
- Date_Time.inl