»
Symbian OS v6.1 Edition for C++ »
API Reference »
Date and Time Handling »
TTimeIntervalMicroSeconds
Location:
e32std.h
Link against:
Class TTimeIntervalMicroSeconds
TTimeIntervalMicroSeconds
Support
Supported from 5.0
Description
Represents a time interval of a millionth of a second stored as a
64-bit integer. It supports initialising, setting and getting the interval and
provides standard comparison operations. Objects of this class can be added to
and subtracted from TTimes.
Defined in TTimeIntervalMicroSeconds:
Int64(), TTimeIntervalMicroSeconds(), operator!=(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=()
Construction and destruction
TTimeIntervalMicroSeconds()
TTimeIntervalMicroSeconds();
Description
Constructs a TTimeIntervalMicroSeconds,
initialised to an arbitrary value. It is necessary because there is also a
non-default constructor in this class.
TTimeIntervalMicroSeconds()
TTimeIntervalMicroSeconds(const TInt64& aInterval);
Description
Constructs the object with a
TInt64.
Parameters
const TInt64& aInterval |
The value to which to initialise the object. |
|
TTimeIntervalMicroSeconds& operator=(const TInt64& aInterval);
Description
Assigns a 64-bit integer value to this
TTimeIntervalMicroSeconds.
Parameters
const TInt64& aInterval |
The 64-bit value to assign to this
TTimeIntervalMicroSeconds. |
|
Return value
TTimeIntervalMicroSeconds& |
This TTimeIntervalMicroSeconds. |
|
TBool operator==(const TTimeIntervalMicroSeconds& aInterval) const;
Description
Tests whether two TTimeIntervalMicroSeconds objects are
equal.
Parameters
const TTimeIntervalMicroSeconds& aInterval |
The time interval to compare with this time interval. |
|
Return value
TBool |
True if the two time intervals are equal. False if not equal. |
|
TBool operator!=(const TTimeIntervalMicroSeconds& aInterval) const;
Description
Tests whether two TTimeIntervalMicroSeconds are not
equal.
Parameters
const TTimeIntervalMicroSeconds& aInterval |
The time interval to compare with this time interval. |
|
Return value
TBool |
True if the two time intervals differ. False if equal. |
|
TBool operator>=(const TTimeIntervalMicroSeconds& aInterval) const;
Description
Tests whether a TTimeIntervalMicroSeconds is greater than or
equal to another.
Parameters
const TTimeIntervalMicroSeconds& aInterval |
The time interval to compare with this time interval. |
|
Return value
TBool |
True if the first time interval is greater than or equal to the second.
False if not. |
|
TBool operator<=(const TTimeIntervalMicroSeconds& aInterval) const;
Description
Tests whether a TTimeIntervalMicroSeconds is less than or
equal to another.
Parameters
const TTimeIntervalMicroSeconds& aInterval |
The time interval to compare with this time interval. |
|
Return value
TBool |
True if the first time interval is less than or equal to the second.
False if not. |
|
TBool operator>(const TTimeIntervalMicroSeconds& aInterval) const;
Description
Tests whether a TTimeIntervalMicroSeconds is greater than
another.
Parameters
const TTimeIntervalMicroSeconds& aInterval |
The time interval to compare with this time interval. |
|
Return value
TBool |
True if the first time interval is greater than the second. False if
not. |
|
TBool operator<(const TTimeIntervalMicroSeconds& aInterval) const;
Description
Tests whether a TTimeIntervalMicroSeconds is less than
another.
Parameters
const TTimeIntervalMicroSeconds& aInterval |
The time interval to compare with this time interval. |
|
Return value
TBool |
True if the first time interval is less than the second. False if
not. |
|
const TInt64& Int64() const;
Description
Gets the 64-bit microsecond time interval.
Return value
TInt64& |
This time interval in microseconds. |
|