Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32std.h

Class TTimeIntervalMicroSeconds

class TTimeIntervalMicroSeconds;

Description

Represents a time interval of a millionth of a second stored as a 64-bit integer.

It supports the initialisation, setting and getting of an interval and provides standard comparison operations. Objects of this class can be added to and subtracted from TTime objects.

Members

Defined in TTimeIntervalMicroSeconds:
Int64(), TTimeIntervalMicroSeconds(), TTimeIntervalMicroSeconds(), operator!=(), operator>(), operator>=(), operator<(), operator<=(), operator=(), operator==()

See also:


Construction and destruction


TTimeIntervalMicroSeconds()

inline TTimeIntervalMicroSeconds();

Description

Default constructor.

Constructs an uninitialised object.


TTimeIntervalMicroSeconds()

inline TTimeIntervalMicroSeconds(const TInt64 &aInterval);

Description

Constructs the object with the specified 64-bit interval value.

Parameters

const TInt64 &aInterval

The 64-bit interval value with which the object is to be initialised.

[Top]


Member functions


operator=()

inline TTimeIntervalMicroSeconds &operator=(const TInt64 &aInterval);

Description

Assigns a 64-bit integer value to this object.

Parameters

const TInt64 &aInterval

The 64-bit integer interval value to be assigned.

Return value

TTimeIntervalMicroSeconds &

A reference to this object.


operator==()

inline TBool operator==(const TTimeIntervalMicroSeconds &aInterval) const;

Description

Tests whether this TTimeIntervalMicroSeconds object is equal to the specified TTimeIntervalMicroSeconds object.

Parameters

const TTimeIntervalMicroSeconds &aInterval

The time interval to be compared with this time interval.

Return value

TBool

True if the two time intervals are equal. False otherwise.


operator!=()

inline TBool operator!=(const TTimeIntervalMicroSeconds &aInterval) const;

Description

Tests whether this TTimeIntervalMicroSeconds object is not equal to the specified TTimeIntervalMicroSeconds object.

Parameters

const TTimeIntervalMicroSeconds &aInterval

The time interval to be compared with this time interval.

Return value

TBool

True if the two time intervals are not equal. False otherwise.


operator>=()

inline TBool operator>=(const TTimeIntervalMicroSeconds &aInterval) const;

Description

Tests whether this TTimeIntervalMicroSeconds object is greater than or equal to the specified TTimeIntervalMicroSeconds object.

Parameters

const TTimeIntervalMicroSeconds &aInterval

The time interval to be compared with this time interval.

Return value

TBool

True if this time interval is greater than or equal to the specified time interval. False otherwise.


operator<=()

inline TBool operator<=(const TTimeIntervalMicroSeconds &aInterval) const;

Description

Tests whether this TTimeIntervalMicroSeconds object is less than or equal to the specified TTimeIntervalMicroSeconds object.

Parameters

const TTimeIntervalMicroSeconds &aInterval

The time interval to be compared with this time interval.

Return value

TBool

True if this time interval is less than or equal to the specified time interval. False otherwise.


operator>()

inline TBool operator>(const TTimeIntervalMicroSeconds &aInterval) const;

Description

Tests whether this TTimeIntervalMicroSeconds object is greater than the specified TTimeIntervalMicroSeconds object.

Parameters

const TTimeIntervalMicroSeconds &aInterval

The time interval to be compared with this time interval.

Return value

TBool

True if this time interval is greater than the specified time interval. False otherwise.


operator<()

inline TBool operator<(const TTimeIntervalMicroSeconds &aInterval) const;

Description

Tests whether this TTimeIntervalMicroSeconds object is less than the specified TTimeIntervalMicroSeconds object.

Parameters

const TTimeIntervalMicroSeconds &aInterval

The time interval to be compared with this time interval.

Return value

TBool

True if this time interval is less than the specified time interval. False otherwise.


Int64()

inline const TInt64 &Int64() const;

Description

Gets the time interval as a 64-bit integer value.

Return value

const TInt64 &

This 64-bit integer time interval value.