Time Class Reference
A utility class whose functions may be used by the other date/time related classes.
Member Functions Documentation
DaysInMonth(TInt, TMonth)
Gets the number of days in a month.
Parameters
TInt aYear | The year. Must be specified because of leap years. |
TMonth aMonth | Month, from EJanuary to EDecember. |
IsLeapYear(TInt)
Tests whether a year is a leap year.
Parameters
TInt aYear | The year of interest. |
LeapYearsUpTo(TInt)
IMPORT_C TInt | LeapYearsUpTo | ( | TInt | aYear | ) | [static] |
Gets the number of leap years between 0 AD nominal Gregorian and the specified year - inclusive.
Parameters
TInt aYear | The final year in the range to search. If negative, the function will return a negative number of leap years. |
MaxTTime()
IMPORT_C TTime | MaxTTime | ( | ) | [static] |
Gets the maximum time value which can be held in a TTime object.
MinTTime()
IMPORT_C TTime | MinTTime | ( | ) | [static] |
Gets the minimum time value which can be held in a TTime object.
NullTTime()
IMPORT_C TTime | NullTTime | ( | ) | [static] |
Gets a TTime with a null value.
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.