TChineseDate Class Reference

#include <app/calendarconverter.h>

Link against: ccon.lib

class TChineseDate
Public Attributes
TInt iCycle
TInt iDay
TBool iLeapMonth
TInt iMonth
TInt iYear
Public Member Functions
TChineseDate()
IMPORT_C TBooloperator==(const TChineseDate &)

Detailed Description

Chinese date.

Its public member data is the year cycle, the year (1-60), the month (1-12), whether or not the month is a leap month, and the day in the month (1-29 or 30).

Member Attribute Documentation

iCycle

TInt iCycle

The year cycle.

iDay

TInt iDay

The day in the month (1-29 or 30).

iLeapMonth

TBool iLeapMonth

Whether or not the month is a leap month.

iMonth

TInt iMonth

The month (1-12).

iYear

TInt iYear

The year (1-60).

Constructor & Destructor Documentation

TChineseDate ( )

IMPORT_CTChineseDate()

Default C++ constructor.

Member Function Documentation

operator== ( const TChineseDate & )

IMPORT_C TBooloperator==(const TChineseDate &aDate)const

Tests whether two objects of this class are equivalent.

ParameterDescription
aDateAn object of this class.

Returns: ETrue: the objects are equivalent.