TTimeIntervalMicroSeconds Class Reference

class TTimeIntervalMicroSeconds

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.

TTime

Constructor & Destructor Documentation

TTimeIntervalMicroSeconds()

TTimeIntervalMicroSeconds()[inline]

Default constructor.

Constructs an uninitialised object.

TTimeIntervalMicroSeconds(const TInt64 &)

TTimeIntervalMicroSeconds(const TInt64 &aInterval)[inline]

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

Parameters

const TInt64 & aIntervalThe 64-bit interval value with which the object is to be initialised.

Member Functions Documentation

Int64()

const TInt64 &Int64()const [inline]

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

This 64-bit integer time interval value.

operator!=(const TTimeIntervalMicroSeconds &)

TBool operator!=(const TTimeIntervalMicroSeconds &aInterval)const [inline]

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

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

Parameters

const TTimeIntervalMicroSeconds & aIntervalThe time interval to be compared with this time interval.

operator<(const TTimeIntervalMicroSeconds &)

TBool operator<(const TTimeIntervalMicroSeconds &aInterval)const [inline]

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

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

Parameters

const TTimeIntervalMicroSeconds & aIntervalThe time interval to be compared with this time interval.

operator<=(const TTimeIntervalMicroSeconds &)

TBool operator<=(const TTimeIntervalMicroSeconds &aInterval)const [inline]

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

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

Parameters

const TTimeIntervalMicroSeconds & aIntervalThe time interval to be compared with this time interval.

operator=(const TInt64 &)

TTimeIntervalMicroSeconds &operator=(const TInt64 &aInterval)[inline]

Assigns a 64-bit integer value to this object.

A reference to this object.

Parameters

const TInt64 & aIntervalThe 64-bit integer interval value to be assigned.

operator==(const TTimeIntervalMicroSeconds &)

TBool operator==(const TTimeIntervalMicroSeconds &aInterval)const [inline]

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

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

Parameters

const TTimeIntervalMicroSeconds & aIntervalThe time interval to be compared with this time interval.

operator>(const TTimeIntervalMicroSeconds &)

TBool operator>(const TTimeIntervalMicroSeconds &aInterval)const [inline]

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

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

Parameters

const TTimeIntervalMicroSeconds & aIntervalThe time interval to be compared with this time interval.

operator>=(const TTimeIntervalMicroSeconds &)

TBool operator>=(const TTimeIntervalMicroSeconds &aInterval)const [inline]

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

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

Parameters

const TTimeIntervalMicroSeconds & aIntervalThe time interval to be compared with this time interval.

Member Data Documentation

TInt64 iInterval

TInt64 iInterval[private]