|
|
|
|
Location:
CalendarConverter.h
Link against: ccon.lib
class CChineseCalendarConverter : public CBase;
Converts between TDateTime and TChineseDate formats in both directions using a lookup table.
CBase - Base class for all classes to be instantiated on the heap
CChineseCalendarConverter - Converts between
Defined in CChineseCalendarConverter:
ChineseToDateTimeL(), DateRange(), DateRange(), DateTimeToChineseL(), JulianDate(), NewL()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
static IMPORT_C CChineseCalendarConverter *NewL();
Creates a new CChineseCalendarConverter object.
|
virtual void DateTimeToChineseL(const TDateTime &aDateTime, TChineseDate &aChineseDate)=0;
Creates a Chinese date from a TDateTime value.
|
virtual void ChineseToDateTimeL(const TChineseDate &aChineseDate, TDateTime &aDateTime)=0;
Creates a TDateTime value from a Chinese date.
|
virtual void DateRange(TDateTime &aLower, TDateTime &aUpper)=0;
Returns the range of dates, in standard date format, acceptable to the Chinese calendar converter.
|
virtual void DateRange(TChineseDate &aLower, TChineseDate &aUpper)=0;
Returns the range of dates, in Chinese date format, acceptable to the Chinese calendar converter.
|
virtual TReal JulianDate()=0;
Returns the result of the last calendar conversion as a Julian date.
|