Location:
calconv.h
Link against: ccon.lib
TChineseCalendar
Supported from 6.1
Stores a date represented in the Chinese calendar.
The date can be converted to another TCalendar
-derived calendar using operator=()
, defined in the base class, TCalendar
.
|
Defined in TChineseCalendar
:
ChineseToDateTime()
, DateTimeToChinese()
, GetDate()
, SetDate()
, TChineseCalendar()
Inherited from TCalendar
:
operator=()
TChineseCalendar();
Constructor. This constructs and initialises the Chinese calendar, but the date is not initialised.
void GetDate(TChineseDate& aDate);
Gets the date.
|
TInt SetDate(const TChineseDate& aDate);
Sets the date. First checks that the date specified is of the correct format for the Chinese calendar.
|
|
void ChineseToDateTime(TDateTime& aDT);
Gets the date stored in this object as a TDateTime
.
|
void DateTimeToChinese(const TDateTime& aDT);
Assigns a date represented as a TDateTime
to this object.
|