Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32std.h
Link against:

Class TTimeIntervalYears

TTimeIntervalYears

Support

Supported from 5.0

Description

Represents a time interval in years. 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
TTimeIntervalYearsRepresents a time interval in years

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

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


Construction and destruction


TTimeIntervalYears()

TTimeIntervalYears();

Description

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


TTimeIntervalYears()

TTimeIntervalYears(TInt aInterval);

Description

Constructs the interval, initialising it to the value specified in the argument.

Parameters

TInt aInterval

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

[Top]


Assignment


operator=()

TTimeIntervalYears& operator=(TInt aInterval);

Description

Assigns a value to this TTimeIntervalYears.

Parameters

TInt aInterval

The value to assign to this TTimeIntervalYears.

Return value

TTimeIntervalYears&

This TTimeIntervalYears.