Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32std.h
Link against:

Class TTimeIntervalSeconds

TTimeIntervalSeconds

Support

Supported from 5.0

Description

Represents a time interval in seconds. Comparison and interval retrieval functions are provided by the base class TTimeIntervalBase. The range of values which it can represent is +–2147483647, which is equal to +–24855 days (approximately 68 years).

Derivation

TTimeIntervalBaseProvides a base class for all time interval classes using a 32-bit representation
TTimeIntervalSecondsRepresents a time interval in seconds

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

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


Construction and destruction


TTimeIntervalSeconds()

TTimeIntervalSeconds();

Description

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


TTimeIntervalSeconds()

TTimeIntervalSeconds(TInt aInterval);

Description

Constructs the interval with a TInt.

Parameters

TInt aInterval

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

[Top]


Assignment


operator=()

TTimeIntervalSeconds& operator=(TInt aInterval);

Description

Assigns an interval value to this TTimeIntervalSeconds.

Parameters

TInt aInterval

The interval to assign to this TTimeIntervalSeconds.

Return value

TTimeIntervalSeconds&

This TTimeIntervalSeconds.