TTimeIntervalMicroSeconds Class Reference

#include <e32std.h>

class TTimeIntervalMicroSeconds

Detailed 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.

See also: 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
aIntervalThe 64-bit interval value with which the object is to be initialised.

Member Function Documentation

Int64 ( )

const TInt64 &Int64()const [inline]

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

Return 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.

Parameters
aIntervalThe time interval to be compared with this time interval.
Return Value
True if the two time intervals are not equal. False otherwise.

operator< ( const TTimeIntervalMicroSeconds & )

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

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

Parameters
aIntervalThe time interval to be compared with this time interval.
Return Value
True if this time interval is less than the specified time interval. False otherwise.

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.

Parameters
aIntervalThe time interval to be compared with this time interval.
Return Value
True if this time interval is less than or equal to the specified time interval. False otherwise.

operator= ( const TInt64 & )

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

Assigns a 64-bit integer value to this object.

Parameters
aIntervalThe 64-bit integer interval value to be assigned.
Return Value
A reference to this object.

operator== ( const TTimeIntervalMicroSeconds & )

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

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

Parameters
aIntervalThe time interval to be compared with this time interval.
Return Value
True if the two time intervals are equal. False otherwise.

operator> ( const TTimeIntervalMicroSeconds & )

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

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

Parameters
aIntervalThe time interval to be compared with this time interval.
Return Value
True if this time interval is greater than the specified time interval. False otherwise.

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.

Parameters
aIntervalThe time interval to be compared with this time interval.
Return Value
True if this time interval is greater than or equal to the specified time interval. False otherwise.