COleDateTimeSpan::COleDateTimeSpan

These constructors construct a COleDateTimeSpan object.

The default constructor initializes it to zero.

Use the copy constructor to construct a COleDateTimeSpan object from an existing COleDateTimeSpan object.

Use COleDateTimeSpan( dblSpanSrc ) to construct a COleDateTimeSpan object from a floating point value.

Use COleDateTimeSpan( lDays, nHours, nMins, nSecs ) to construct a COleDateTimeSpan object initialized to the specified numerical values.

At a Glance

Header file: Afxdisp.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

COleDateTimeSpan( );

COleDateTimeSpan( const COleDateTimeSpan& dateSpanSrc );

COleDateTimeSpan( double dblSpanSrc );

COleDateTimeSpan( long lDays, int nHours, int nMins, int nSecs );

See Also

COleDateTimeSpan::GetStatus, COleDateTimeSpan::operator =, COleDateTimeSpan::m_span, COleDateTimeSpan::m_status