Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DChineseDateFormatSymbols.java38 String[] isLeapMonth; field in ChineseDateFormatSymbols
100 return isLeapMonth[leap]; in getLeapMonth()
117 this.isLeapMonth = ((ChineseDateFormatSymbols)dfs).isLeapMonth; in initializeData()
128 isLeapMonth = new String[2]; in initializeIsLeapMonth()
129 isLeapMonth[0] = ""; in initializeIsLeapMonth()
130isLeapMonth[1] = (leapMonthPatterns != null)? leapMonthPatterns[DT_LEAP_MONTH_PATTERN_FORMAT_WIDE]… in initializeIsLeapMonth()
DSimpleDateFormat.java1592 …int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= … in subFormat() local
1597 …safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapM… in subFormat()
1599 …AppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat()
1604 …safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPa… in subFormat()
1607 …safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.l… in subFormat()
1612 …safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMo… in subFormat()
1615 …eAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat()
1623 …safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatte… in subFormat()
2657 int isLeapMonth = 0; in matchString() local
2670 isLeapMonth = 0; in matchString()
[all …]
/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()
2671 int isLeapMonth = 0; in matchString() local
2684 isLeapMonth = 0; in matchString()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DChineseCalendar.java173 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { in ChineseCalendar() argument
174 this(year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar()
195 public ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, in ChineseCalendar() argument
209 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar()
229 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) in ChineseCalendar() argument
231 this(era, year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar()
253 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, in ChineseCalendar() argument
265 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar()
865 boolean isLeapMonth = isLeapYear && in computeChineseFields()
870 internalSet(IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields()
[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/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DChineseTestCase.java33 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) { in ChineseTestCase() argument
40 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase()
DDangiTest.java234 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local
236 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution()
247 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution()
379 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument
380 return "" + year + "/" + (month + 1) + ((isLeapMonth != 0) ? "(leap)" : "") + "/" + day; in ymdToString()
DChineseTest.java369 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local
371 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution()
382 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution()
523 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument
525 ((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.cpp1503 …int32_t isLeapMonth = (fSymbols->fLeapMonthPatterns != NULL && fSymbols->fLeapMonthPatternsCount >… in subFormat() local
1509 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatNarrow]… in subFormat()
1512 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneNar… in subFormat()
1518 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatWide]):… in subFormat()
1522 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneWid… in subFormat()
1528 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatAbbrev]… in subFormat()
1532 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneAbb… in subFormat()
1539 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternNumeric]): NU… in subFormat()
2533 int32_t isLeapMonth = 0; in matchString() local
2551 isLeapMonth = 1; in matchString()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4114 public int isLeapMonth; in TestMonthPatterns() field in DateFormatTest.ChineseCalTestDate
4121 isLeapMonth = il; in TestMonthPatterns()
4194 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns()
4214 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns() local
4216 …sult.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || da… in TestMonthPatterns()
4218 …ring \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day + in TestMonthPatterns()
4219 … ", got pos " + ppos.getIndex() + " era("+era+")-"+year+"-"+month+"("+isLeapMonth+")-"+day ); in TestMonthPatterns()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4110 public int isLeapMonth; in TestMonthPatterns() field in DateFormatTest.ChineseCalTestDate
4117 isLeapMonth = il; in TestMonthPatterns()
4190 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns()
4210 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns() local
4212 …sult.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || da… in TestMonthPatterns()
4214 …ring \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day + in TestMonthPatterns()
4215 … ", got pos " + ppos.getIndex() + " era("+era+")-"+year+"-"+month+"("+isLeapMonth+")-"+day ); in TestMonthPatterns()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp4030 int32_t isLeapMonth; member
4118 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth); in TestMonthPatterns()
4137 … int32_t isLeapMonth = rootChineseCalendar->get(UCAL_IS_LEAP_MONTH, status); in TestMonthPatterns() local
4139 …h() || year != datePtr->year || month != datePtr->month || isLeapMonth != datePtr->isLeapMonth || … in TestMonthPatterns()
4141 …ult + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->d… in TestMonthPatterns()
4142 … 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 ...