Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against:

Class TTimeIntervalMonths

TTimeIntervalMonths

Support

Supported from 5.0

Description

Represents a time interval in months. Comparison and interval retrieval functions are provided by the base class TTimeIntervalBase.

Derivation

TTimeIntervalBaseProvides a base class for all time interval classes using a 32-bit representation
TTimeIntervalMonthsRepresents a time interval in months

Defined in TTimeIntervalMonths:
TTimeIntervalMonths(), operator=()

Inherited from TTimeIntervalBase:
Int(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=()


Construction and destruction


TTimeIntervalMonths()

TTimeIntervalMonths();

Description

Constructs an uninitialised TTimeIntervalMonths object. It is necessary because there is also a non-default constructor in this class.


TTimeIntervalMonths()

TTimeIntervalMonths(TInt aInterval);

Description

Constructs the object with a TInt.

Parameters

TInt aInterval

The interval with which to initialise the newly-constructed TTimeIntervalMonths.

[Top]


Assignment


operator=()

TTimeIntervalMonths& operator=(TInt aInterval);

Description

Assigns a value to this TTimeIntervalMonths.

Parameters

TInt aInterval

The interval to assign to this TTimeIntervalMonths.

Return value

TTimeIntervalMonths&

This TTimeIntervalMonths.