COleDateTimeSpan::m_status

Remarks

The type for this data member is the enumerated type DateTimeSpanStatus, which is defined within the COleDateTimeSpan class.

enum DateTimeSpanStatus{
   valid = 0,
   invalid = 1,
   null = 2,
};

For a brief description of these status values, see the following list:

The status of a COleDateTimeSpan object is invalid in the following cases:

For more information about the operations that may set the status to invalid, see COleDateTimeSpan::operator +, - and COleDateTimeSpan::operator +=, -=.

Caution   This data member is for advanced programming situations. You should use the inline member functions GetStatus and SetStatus. See SetStatus for further cautions regarding explicitly setting this data member.

For more information about the bounds for COleDateTimeSpan values, see the article Date and Time: Automation Support in Visual C++ Programmer’s Guide.

COleDateTimeSpan OverviewClass MembersHierarchy Chart

See Also   COleDateTimeSpan::GetStatus, COleDateTimeSpan::SetStatus