Date according to ISO 8601. More...
Date according to ISO 8601.
Inheritance diagram for Date:Public Member Methods | |
| Date () | |
| Default constructor. More... | |
| Date (TimeStamp timeStamp) | |
| Explicit convertion from TimeStamp More... | |
| Date (const String &text) | |
| Explicit convertion from String. More... | |
| Date (Int32 year, Month month, Int32 day) | |
| Default constructor. More... | |
| void | SetDate (Int32 year, Month month, Int32 day) |
| Sets the date. More... | |
| void | GetDate (Int32 &year, Month &month, Int32 &day) |
| Gets the date. More... | |
| Int32 | GetYear () const |
| Gets the year. More... | |
| Month | GetMonth () const |
| Gets the month. More... | |
| Int32 | GetDay () const |
| Gets the day. More... | |
| DayOfWeek | GetDayOfWeek () const |
| Gets the day of week. More... | |
| Int32 | GetDayOfYear () const |
| Gets the day of year. More... | |
| WeekNumber | GetWeekNumber () const |
| Gets the week number. More... | |
| bool | IsLeapYear () const |
| Query if this date is leap year. More... | |
| void | ConvertFrom (PCChar8 text) |
| Convert from. More... | |
| void | ConvertTo (BaseStaticString &text) const |
| Convert to. More... | |
| TimeStamp | ToTimeStamp () const |
| Converts this object to a TimeStamp. More... | |
| Date & | operator+= (const TimeSpan &timeSpan) |
| Addition assignment operator. More... | |
| Date & | operator-= (const TimeSpan &timeSpan) |
| Subtraction assignment operator. More... | |
| Date | ( | ) |
Default constructor.
Explicit convertion from TimeStamp
| timeStamp | The time stamp. |
Explicit convertion from String.
| text | The text containing the Date value. ("2012-03-03") |
Default constructor.
| year | The year. |
| month | The month. |
| day | The day. |
|
virtual |
Convert from.
| text | The text containing the Date value. ("2012-03-03") |
Implements IStringConvertible.
|
virtual |
Gets the date.
| year | [in,out] The year. |
| month | [in,out] The month. |
| day | [in,out] The day. |
| Int32 GetDay | ( | ) | const |
Gets the day.
| DayOfWeek GetDayOfWeek | ( | ) | const |
Gets the day of week.
| Int32 GetDayOfYear | ( | ) | const |
Gets the day of year.
| Month GetMonth | ( | ) | const |
Gets the month.
| WeekNumber GetWeekNumber | ( | ) | const |
Gets the week number.
| Int32 GetYear | ( | ) | const |
Gets the year.
| bool IsLeapYear | ( | ) | const |
Query if this date is leap year.
Addition assignment operator.
| timeSpan | The time span. |
Subtraction assignment operator.
| timeSpan | The time span. |
Sets the date.
| year | The year. |
| month | The month. |
| day | The day. |
| TimeStamp ToTimeStamp | ( | ) | const |
Converts this object to a TimeStamp.