Constructor
COleDateTimeSpan | Constructs a COleDateTimeSpan object. |
Attributes
GetStatus | Gets the status (validity) of this COleDateTimeSpan object. |
SetStatus | Sets the status (validity) of this COleDateTimeSpan object. |
GetDays | Returns the day portion of the span this COleDateTimeSpan object represents. |
GetHours | Returns the hour portion of the span this COleDateTimeSpan object represents. |
GetMinutes | Returns the minute portion of the span this COleDateTimeSpan object represents. |
GetSeconds | Returns the second portion of the span this COleDateTimeSpan object represents. |
GetTotalDays | Returns the number of days this COleDateTimeSpan object represents. |
GetTotalHours | Returns the number of hours this COleDateTimeSpan object represents. |
GetTotalMinutes | Returns the number of minutes this COleDateTimeSpan object represents. |
GetTotalSeconds | Returns the number of seconds this COleDateTimeSpan object represents. |
Operations
SetDateTimeSpan | Sets the value of this COleDateTimeSpan object. |
Format | Generates a formatted string representation of a COleDateTimeSpan object. |
Operators
operator double | Converts this COleDateTimeSpan value to a double. |
operator = | Copies a COleDateTimeSpan value. |
operator +, - | Add, subtract, and change sign for COleDateTimeSpan values. |
operator +=, -= | Add and subtract a COleDateTimeSpan value from this COleDateTimeSpan value. |
operator ==, <, <= | Compare two COleDateTimeSpan values. |
Data Members
m_span | Contains the underlying double for this COleDateTimeSpan object. |
m_status | Contains the status of this COleDateTimeSpan object. |
Dump/Archive
operator << | Outputs a COleDateTimeSpan value to CArchive or CDumpContext. |
operator >> | Inputs a COleDateTimeSpan object from CArchive. |