CChineseCalendarConverter Class Reference
class CChineseCalendarConverter : public CBase |
Converts between TDateTime and TChineseDate formats in both directions. Chinese dates are calculated using the -2636 epoch. This is equivalent to 2637 BCE (Before Common Era).
Inherits from
- CChineseCalendarConverter
Member Functions Documentation
ChineseToDateTimeL(const TChineseDate &, TDateTime &)
Creates a TDateTime value from a Chinese date.
Parameters
const TChineseDate & aChineseDate | A date in Chinese format. |
TDateTime & aDateTime | On return, contains a date value. If the supplied date is invalid, this contains KErrArgument. |
DateRange(TDateTime &, TDateTime &)
Returns the range of dates, in standard date format, acceptable to the Chinese calendar converter.
Parameters
TDateTime & aLower | On return, contains the lower limit of the converter. |
TDateTime & aUpper | On return, contains the upper limit of the converter. |
DateRange(TChineseDate &, TChineseDate &)
Returns the range of dates, in Chinese date format, acceptable to the Chinese calendar converter.
Parameters
TChineseDate & aLower | On return, contains the lower limit of the converter. |
TChineseDate & aUpper | On return, contains the upper limit of the converter. |
DateTimeToChineseL(const TDateTime &, TChineseDate &)
Creates a Chinese date from a TDateTime value.
Parameters
const TDateTime & aDateTime | The date/time value to convert. |
TChineseDate & aChineseDate | On return, contains the Chinese date. If the supplied date is invalid, this contains KErrArgument. |
JulianDate()
TReal
| JulianDate | ( | ) | [pure virtual] |
Returns the result of the last calendar conversion as a Julian date.
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.