|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
Provides a base class for all time interval classes using a 32-bit representation. More...
#include <e32std.h>
Public Member Functions | |
| TBool | operator== (TTimeIntervalBase aInterval) const |
| Tests whether this time interval is the same as the specified time interval. | |
| TBool | operator!= (TTimeIntervalBase aInterval) const |
| Tests whether this time interval is not the same as the specified time interval. | |
| TBool | operator>= (TTimeIntervalBase aInterval) const |
| Tests whether this time interval is greater than or equal to the specified time interval. | |
| TBool | operator<= (TTimeIntervalBase aInterval) const |
| Tests whether this time interval is less than or equal to the specified time interval. | |
| TBool | operator> (TTimeIntervalBase aInterval) const |
| Tests whether this time interval is greater than the specified time interval. | |
| TBool | operator< (TTimeIntervalBase aInterval) const |
| Tests whether this time interval is less than the specified time interval. | |
| TInt | Int () const |
| Gets the time interval as a 32 bit integer. | |
Protected Member Functions | |
| TTimeIntervalBase () | |
| Default constructor. | |
| TTimeIntervalBase (TInt aInterval) | |
| Constructor taking an interval value. | |
Protected Attributes | |
| TInt | iInterval |
Provides a base class for all time interval classes using a 32-bit representation.
It supports retrieving the interval and provides various operations for comparing intervals. Its concrete derived classes can be added to and subtracted from a TTime.
The comparison operators simply compare the integer representations of the two intervals. They do not take account of different time interval units. So, for example, when comparing for equality an interval of three hours with an interval of three days, the result is true.
|
inlineprotected |
Default constructor.
(generated from Symbian Developer Library)
|
inlineprotected |
Constructor taking an interval value.
| aInterval | The interval value. |
(generated from Symbian Developer Library)
|
inline |
Gets the time interval as a 32 bit integer.
(generated from Symbian Developer Library)
|
inline |
Tests whether this time interval is not the same as the specified time interval.
| aInterval | The time interval to be compared with this time interval. |
(generated from Symbian Developer Library)
|
inline |
Tests whether this time interval is less than the specified time interval.
| aInterval | The time interval to be compared with this time interval. |
(generated from Symbian Developer Library)
|
inline |
Tests whether this time interval is less than or equal to the specified time interval.
| aInterval | The time interval to be compared with this time interval. |
(generated from Symbian Developer Library)
|
inline |
Tests whether this time interval is the same as the specified time interval.
| aInterval | The time interval to be compared with this time interval. |
(generated from Symbian Developer Library)
|
inline |
Tests whether this time interval is greater than the specified time interval.
| aInterval | The time interval to be compared with this time interval. |
(generated from Symbian Developer Library)
|
inline |
Tests whether this time interval is greater than or equal to the specified time interval.
| aInterval | The time interval to be compared with this time interval. |
(generated from Symbian Developer Library)