Home | History | Annotate | Download | only in i18n

Lines Matching defs:ChineseCalendar

12  *   9/18/2007  ajmacher         ported from java ChineseCalendar
101 // Implementation of the ChineseCalendar class
109 Calendar* ChineseCalendar::clone() const {
110 return new ChineseCalendar(*this);
113 ChineseCalendar::ChineseCalendar(const Locale& aLocale, UErrorCode& success)
120 ChineseCalendar::ChineseCalendar(const ChineseCalendar& other) : Calendar(other) {
124 ChineseCalendar::~ChineseCalendar()
128 const char *ChineseCalendar::getType() const {
169 int32_t ChineseCalendar::handleGetLimit(UCalendarDateFields field, ELimitType limitType) const {
185 int32_t ChineseCalendar::handleGetExtendedYear() {
204 int32_t ChineseCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const {
226 * <p>Compute the ChineseCalendar-specific field IS_LEAP_MONTH.
229 void ChineseCalendar::handleComputeFields(int32_t julianDay, UErrorCode &/*status*/) {
239 const UFieldResolutionTable ChineseCalendar::CHINESE_DATE_PRECEDENCE[] =
269 const UFieldResolutionTable* ChineseCalendar::getFieldResolutionTable() const {
286 int32_t ChineseCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const {
288 ChineseCalendar *nonConstThis = (ChineseCalendar*)this; // cast away const
337 void ChineseCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) {
359 void ChineseCalendar::add(EDateFields field, int32_t amount, UErrorCode& status) {
367 void ChineseCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) {
425 void ChineseCalendar::roll(EDateFields field, int32_t amount, UErrorCode& status) {
439 double ChineseCalendar::daysToMillis(double days) {
448 double ChineseCalendar::millisToDays(double millis) {
465 int32_t ChineseCalendar::winterSolstice(int32_t gyear) const {
505 int32_t ChineseCalendar::newMoonNear(double days, UBool after) const {
526 int32_t ChineseCalendar::synodicMonthsBetween(int32_t day1, int32_t day2) const {
537 int32_t ChineseCalendar::majorSolarTerm(int32_t days) const {
561 UBool ChineseCalendar::hasNoMajorSolarTerm(int32_t newMoon) const {
579 UBool ChineseCalendar::isLeapMonthBetween(int32_t newMoon1, int32_t newMoon2) const {
612 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth,
694 int32_t ChineseCalendar::newYear(int32_t gyear) const {
732 void ChineseCalendar::offsetMonth(int32_t newMoon, int32_t dom, int32_t delta) {
750 // this method, in ChineseCalendar, or in
765 ChineseCalendar::inDaylightTime(UErrorCode& status) const
772 ((ChineseCalendar*)this)->complete(status); // cast away const
778 const UDate ChineseCalendar::fgSystemDefaultCentury = DBL_MIN;
779 const int32_t ChineseCalendar::fgSystemDefaultCenturyYear = -1;
781 UDate ChineseCalendar::fgSystemDefaultCenturyStart = DBL_MIN;
782 int32_t ChineseCalendar::fgSystemDefaultCenturyStartYear = -1;
785 UBool ChineseCalendar::haveDefaultCentury() const
790 UDate ChineseCalendar::defaultCenturyStart() const
795 int32_t ChineseCalendar::defaultCenturyStartYear() const
801 ChineseCalendar::internalGetDefaultCenturyStart() const
818 ChineseCalendar::internalGetDefaultCenturyStartYear() const
835 ChineseCalendar::initializeSystemDefaultCentury()
841 ChineseCalendar calendar(Locale("@calendar=chinese"),status);
860 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(ChineseCalendar)