Home
last modified time | relevance | path

Searched refs:isLeapMonth (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DChineseDateFormatSymbols.java36 String[] isLeapMonth; field in ChineseDateFormatSymbols
98 return isLeapMonth[leap]; in getLeapMonth()
115 this.isLeapMonth = ((ChineseDateFormatSymbols)dfs).isLeapMonth; in initializeData()
126 isLeapMonth = new String[2]; in initializeIsLeapMonth()
127 isLeapMonth[0] = ""; in initializeIsLeapMonth()
128isLeapMonth[1] = (leapMonthPatterns != null)? leapMonthPatterns[DT_LEAP_MONTH_PATTERN_FORMAT_WIDE]… in initializeIsLeapMonth()
DSimpleDateFormat.java1602 …int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= … in subFormat() local
1607 …safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapM… in subFormat()
1609 …AppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat()
1614 …safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPa… in subFormat()
1617 …safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.l… in subFormat()
1622 …safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMo… in subFormat()
1625 …eAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat()
1633 …safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatte… in subFormat()
2665 int isLeapMonth = 0; in matchString() local
2678 isLeapMonth = 0; in matchString()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DChineseCalendar.java176 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { in ChineseCalendar() argument
177 this(year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar()
199 public ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, in ChineseCalendar() argument
213 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar()
234 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) in ChineseCalendar() argument
236 this(era, year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar()
259 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, in ChineseCalendar() argument
271 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar()
884 boolean isLeapMonth = isLeapYear && in computeChineseFields()
889 internalSet(IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DChineseTestCase.java32 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) { in ChineseTestCase() argument
39 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase()
DDangiTest.java230 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local
232 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution()
243 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution()
375 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument
376 return "" + year + "/" + (month + 1) + ((isLeapMonth != 0) ? "(leap)" : "") + "/" + day; in ymdToString()
DChineseTest.java365 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local
367 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution()
378 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution()
519 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument
521 ((isLeapMonth!=0)?"(leap)":"") + in ymdToString()
/external/icu/icu4c/source/i18n/
Dchnsecal.cpp344 int32_t isLeapMonth = useMonth ? saveIsLeapMonth : 0; in handleComputeMonthStart() local
356 isLeapMonth != internalGet(UCAL_IS_LEAP_MONTH)) { in handleComputeMonthStart()
704 UBool isLeapMonth = isLeapYear && in computeChineseFields() local
709 internalSet(UCAL_IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields()
Dsmpdtfmt.cpp1481 …int32_t isLeapMonth = (fSymbols->fLeapMonthPatterns != NULL && fSymbols->fLeapMonthPatternsCount >… in subFormat() local
1487 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatNarrow]… in subFormat()
1490 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneNar… in subFormat()
1496 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatWide]):… in subFormat()
1500 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneWid… in subFormat()
1506 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatAbbrev]… in subFormat()
1510 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneAbb… in subFormat()
1517 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternNumeric]): NU… in subFormat()
2510 int32_t isLeapMonth = 0; in matchString() local
2528 isLeapMonth = 1; in matchString()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4081 public int isLeapMonth; in TestMonthPatterns() field in DateFormatTest.ChineseCalTestDate
4088 isLeapMonth = il; in TestMonthPatterns()
4161 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns()
4181 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns() local
4183 …sult.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || da… in TestMonthPatterns()
4185 …ring \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day + in TestMonthPatterns()
4186 … ", got pos " + ppos.getIndex() + " era("+era+")-"+year+"-"+month+"("+isLeapMonth+")-"+day ); in TestMonthPatterns()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp4001 int32_t isLeapMonth; member
4089 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth); in TestMonthPatterns()
4108 … int32_t isLeapMonth = rootChineseCalendar->get(UCAL_IS_LEAP_MONTH, status); in TestMonthPatterns() local
4110 …h() || year != datePtr->year || month != datePtr->month || isLeapMonth != datePtr->isLeapMonth || … in TestMonthPatterns()
4112 …ult + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->d… in TestMonthPatterns()
4113 … ppos.getIndex() + " " + year +"-"+month+"("+isLeapMonth+")-"+day); in TestMonthPatterns()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...