class Time |
A utility class whose functions may be used by the other date/time related classes.
Public Member Functions | |
---|---|
IMPORT_C TInt | DaysInMonth ( TInt , TMonth ) |
IMPORT_C TBool | IsLeapYear ( TInt ) |
IMPORT_C TInt | LeapYearsUpTo ( TInt ) |
IMPORT_C TTime | MaxTTime () |
IMPORT_C TTime | MinTTime () |
IMPORT_C TTime | NullTTime () |
IMPORT_C TInt | DaysInMonth | ( | TInt | aYear, |
TMonth | aMonth | |||
) | [static] |
Gets the number of days in a month.
IMPORT_C TBool | IsLeapYear | ( | TInt | aYear | ) | [static] |
Tests whether a year is a leap year.
TInt aYear | The year of interest. |
IMPORT_C TInt | LeapYearsUpTo | ( | TInt | aYear | ) | [static] |
Gets the number of leap years between 0 AD nominal Gregorian and the specified year - inclusive.
TInt aYear | The final year in the range to search. If negative, the function will return a negative number of leap years. |
IMPORT_C TTime | MaxTTime | ( | ) | [static] |
Gets the maximum time value which can be held in a TTime object.
IMPORT_C TTime | MinTTime | ( | ) | [static] |
Gets the minimum time value which can be held in a TTime object.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.