Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32std.h
Link against:

Class TTimeIntervalHours

TTimeIntervalHours

Support

Supported from 5.0

Description

Represents a time interval in hours. 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
TTimeIntervalHoursRepresents a time interval in hours

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

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


Member functions


TTimeIntervalHours()

TTimeIntervalHours();

Description

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


TTimeIntervalHours()

TTimeIntervalHours(TInt aInterval);

Description

Constructs the object with a TInt.

Parameters

TInt aInterval

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

[Top]


Assignment


operator=()

TTimeIntervalHours& operator=(TInt aInterval);

Description

Assigns a value to this TTimeIntervalHours.

Parameters

TInt aInterval

The interval to assign to this TTimeIntervalHours.

Return value

TTimeIntervalHours&

This TTimeIntervalHours.