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

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DChineseDateFormatSymbols.java40 String[] isLeapMonth; field in class:ChineseDateFormatSymbols
102 return isLeapMonth[leap];
121 this.isLeapMonth = ((ChineseDateFormatSymbols)dfs).isLeapMonth;
129 //isLeapMonth = calData.getStringArray("isLeapMonth");
132 isLeapMonth = new String[2];
133 isLeapMonth[0] = "";
134 isLeapMonth[1] = (leapMonthPatterns != null)? leapMonthPatterns[DT_LEAP_MONTH_PATTERN_FORMAT_WIDE].replace("{0}", ""): "";
H A DSimpleDateFormat.java1630 int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= DateFormatSymbols.DT_MONTH_PATTERN_COUNT)?
1635 safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_FORMAT_NARROW]: null);
1637 safeAppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_STANDALONE_NARROW]: null);
1642 safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_FORMAT_WIDE]: null);
1645 safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_STANDALONE_WIDE]: null);
1650 safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_FORMAT_ABBREV]: null);
1653 safeAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_STANDALONE_ABBREV]: null);
1661 safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_NUMERIC]: null);
2887 int isLeapMonth = 0;
2900 isLeapMonth
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DChineseDateFormatSymbols.java38 String[] isLeapMonth; field in class:ChineseDateFormatSymbols
100 return isLeapMonth[leap];
119 this.isLeapMonth = ((ChineseDateFormatSymbols)dfs).isLeapMonth;
127 //isLeapMonth = calData.getStringArray("isLeapMonth");
130 isLeapMonth = new String[2];
131 isLeapMonth[0] = "";
132 isLeapMonth[1] = (leapMonthPatterns != null)? leapMonthPatterns[DT_LEAP_MONTH_PATTERN_FORMAT_WIDE].replace("{0}", ""): "";
H A DSimpleDateFormat.java1640 int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= DateFormatSymbols.DT_MONTH_PATTERN_COUNT)?
1645 safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_FORMAT_NARROW]: null);
1647 safeAppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_STANDALONE_NARROW]: null);
1652 safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_FORMAT_WIDE]: null);
1655 safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_STANDALONE_WIDE]: null);
1660 safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_FORMAT_ABBREV]: null);
1663 safeAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_STANDALONE_ABBREV]: null);
1671 safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatterns[DateFormatSymbols.DT_LEAP_MONTH_PATTERN_NUMERIC]: null);
2901 int isLeapMonth = 0;
2914 isLeapMonth
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
H A DChineseTestCase.java27 * @param isLeapMonth if true, treat month as a leap month
35 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) {
42 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0);
33 ChineseTestCase(double julian, int era, int year, int month, boolean isLeapMonth, int dayOfMonth, int dayOfWeek) argument
H A DDangiTest.java88 int yE = DATA[i++]; // Expected y, m, isLeapMonth, d
187 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
234 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH);
236 if (expMonth == month && expIsLeapMonth == isLeapMonth &&
247 "=" + (month+1) + "," + isLeapMonth + "," + dom +
382 static public String ymdToString(int year, int month, int isLeapMonth, int day) { argument
383 return "" + year + "/" + (month + 1) + ((isLeapMonth != 0) ? "(leap)" : "") + "/" + day;
H A DChineseTest.java108 int yE = DATA[i++]; // Expected y, m, isLeapMonth, d
312 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
371 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH);
373 if (expMonth == month && expIsLeapMonth == isLeapMonth &&
384 "=" + (month+1) + "," + isLeapMonth + "," + dom +
528 static public String ymdToString(int year, int month, int isLeapMonth, int day) { argument
530 ((isLeapMonth!=0)?"(leap)":"") +
562 // new ChineseCalendar(int year, int month, int isLeapMonth, int date)
565 errln("could not create ChineseCalendar with year,month,isLeapMonth,date");
571 errln("ChineseCalendar was initialized incorrectly with year,month,isLeapMonth,dat
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DChineseTestCase.java26 * @param isLeapMonth if true, treat month as a leap month
34 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) {
41 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0);
32 ChineseTestCase(double julian, int era, int year, int month, boolean isLeapMonth, int dayOfMonth, int dayOfWeek) argument
H A DDangiTest.java87 int yE = DATA[i++]; // Expected y, m, isLeapMonth, d
186 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
233 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH);
235 if (expMonth == month && expIsLeapMonth == isLeapMonth &&
246 "=" + (month+1) + "," + isLeapMonth + "," + dom +
381 static public String ymdToString(int year, int month, int isLeapMonth, int day) { argument
382 return "" + year + "/" + (month + 1) + ((isLeapMonth != 0) ? "(leap)" : "") + "/" + day;
H A DChineseTest.java107 int yE = DATA[i++]; // Expected y, m, isLeapMonth, d
311 // (field, value)+, END, exp.month, exp.isLeapMonth, exp.DOM
370 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH);
372 if (expMonth == month && expIsLeapMonth == isLeapMonth &&
383 "=" + (month+1) + "," + isLeapMonth + "," + dom +
527 static public String ymdToString(int year, int month, int isLeapMonth, int day) { argument
529 ((isLeapMonth!=0)?"(leap)":"") +
561 // new ChineseCalendar(int year, int month, int isLeapMonth, int date)
564 errln("could not create ChineseCalendar with year,month,isLeapMonth,date");
570 errln("ChineseCalendar was initialized incorrectly with year,month,isLeapMonth,dat
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DChineseCalendar.java170 * @param isLeapMonth The value used to set the Chinese calendar's {@link #IS_LEAP_MONTH}
175 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { argument
176 this(year, month, isLeapMonth, date, 0, 0, 0);
186 * @param isLeapMonth the value used to set the {@link #IS_LEAP_MONTH} time field
197 public ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, argument
211 this.set(IS_LEAP_MONTH, isLeapMonth);
226 * @param isLeapMonth The value used to set the Chinese calendar's {@link #IS_LEAP_MONTH}
231 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) argument
233 this(era, year, month, isLeapMonth, date, 0, 0, 0);
244 * @param isLeapMonth th
255 ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, int minute, int second) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DChineseCalendar.java172 * @param isLeapMonth The value used to set the Chinese calendar's {@link #IS_LEAP_MONTH}
178 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { argument
179 this(year, month, isLeapMonth, date, 0, 0, 0);
189 * @param isLeapMonth the value used to set the {@link #IS_LEAP_MONTH} time field
201 public ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, argument
215 this.set(IS_LEAP_MONTH, isLeapMonth);
230 * @param isLeapMonth The value used to set the Chinese calendar's {@link #IS_LEAP_MONTH}
236 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) argument
238 this(era, year, month, isLeapMonth, date, 0, 0, 0);
249 * @param isLeapMonth th
261 ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, int minute, int second) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Dchnsecal.cpp346 int32_t isLeapMonth = useMonth ? saveIsLeapMonth : 0; local
358 isLeapMonth != internalGet(UCAL_IS_LEAP_MONTH)) {
706 UBool isLeapMonth = isLeapYear && local
711 internalSet(UCAL_IS_LEAP_MONTH, isLeapMonth?1:0);
H A Dsmpdtfmt.cpp1514 int32_t isLeapMonth = (fSymbols->fLeapMonthPatterns != NULL && fSymbols->fLeapMonthPatternsCount >= DateFormatSymbols::kMonthPatternsCount)? local
1520 (isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatNarrow]): NULL, status);
1523 (isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneNarrow]): NULL, status);
1529 (isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatWide]): NULL, status);
1533 (isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneWide]): NULL, status);
1539 (isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatAbbrev]): NULL, status);
1543 (isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneAbbrev]): NULL, status);
1550 (isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternNumeric]): NULL, status);
2775 int32_t isLeapMonth = 0; local
2792 isLeapMonth
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDateFormatTest.java4163 errln("FAIL: isLeapMonth [0],[1] for locale " + item.locale + "; expected \"\", \"" + item.marker + "\"; got \"" + cdfSymbols.getLeapMonth(0) + "\", \"" + cdfSymbols.getLeapMonth(1) + "\"");
4174 public int isLeapMonth;
4181 isLeapMonth = il;
4252 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth );
4272 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH);
4274 if ( ppos.getIndex() < result.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || day != date.day) {
4276 ", string \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day +
4277 ", got pos " + ppos.getIndex() + " era("+era+")-"+year+"-"+month+"("+isLeapMonth+")-"+day );
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateFormatTest.java4162 errln("FAIL: isLeapMonth [0],[1] for locale " + item.locale + "; expected \"\", \"" + item.marker + "\"; got \"" + cdfSymbols.getLeapMonth(0) + "\", \"" + cdfSymbols.getLeapMonth(1) + "\"");
4173 public int isLeapMonth;
4180 isLeapMonth = il;
4251 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth );
4271 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH);
4273 if ( ppos.getIndex() < result.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || day != date.day) {
4275 ", string \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day +
4276 ", got pos " + ppos.getIndex() + " era("+era+")-"+year+"-"+month+"("+isLeapMonth+")-"+day );
/external/icu/icu4c/source/test/intltest/
H A Ddtfmttst.cpp4043 int32_t isLeapMonth; member in struct:__anon7579
4131 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth);
4150 int32_t isLeapMonth = rootChineseCalendar->get(UCAL_IS_LEAP_MONTH, status); local
4152 if ( ppos.getIndex() < result.length() || year != datePtr->year || month != datePtr->month || isLeapMonth != datePtr->isLeapMonth || day != datePtr->day ) {
4154 ", string \"" + result + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->day + ", got pos " +
4155 ppos.getIndex() + " " + year +"-"+month+"("+isLeapMonth+")-"+day);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 401 milliseconds