/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ChineseDateFormatSymbols.java | 40 String[] isLeapMonth; field in ChineseDateFormatSymbols 102 return isLeapMonth[leap]; in getLeapMonth() 121 this.isLeapMonth = ((ChineseDateFormatSymbols)dfs).isLeapMonth; in initializeData() 132 isLeapMonth = new String[2]; in initializeIsLeapMonth() 133 isLeapMonth[0] = ""; in initializeIsLeapMonth() 134 …isLeapMonth[1] = (leapMonthPatterns != null)? leapMonthPatterns[DT_LEAP_MONTH_PATTERN_FORMAT_WIDE]… in initializeIsLeapMonth()
|
D | SimpleDateFormat.java | 1630 …int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= … in subFormat() local 1635 …safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapM… in subFormat() 1637 …AppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1642 …safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPa… in subFormat() 1645 …safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.l… in subFormat() 1650 …safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMo… in subFormat() 1653 …eAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1661 …safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatte… in subFormat() 2887 int isLeapMonth = 0; in matchString() local 2900 isLeapMonth = 0; in matchString() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | ChineseDateFormatSymbols.java | 38 String[] isLeapMonth; field in ChineseDateFormatSymbols 100 return isLeapMonth[leap]; in getLeapMonth() 119 this.isLeapMonth = ((ChineseDateFormatSymbols)dfs).isLeapMonth; in initializeData() 130 isLeapMonth = new String[2]; in initializeIsLeapMonth() 131 isLeapMonth[0] = ""; in initializeIsLeapMonth() 132 …isLeapMonth[1] = (leapMonthPatterns != null)? leapMonthPatterns[DT_LEAP_MONTH_PATTERN_FORMAT_WIDE]… in initializeIsLeapMonth()
|
D | SimpleDateFormat.java | 1640 …int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= … in subFormat() local 1645 …safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapM… in subFormat() 1647 …AppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1652 …safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPa… in subFormat() 1655 …safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.l… in subFormat() 1660 …safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMo… in subFormat() 1663 …eAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1671 …safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatte… in subFormat() 2901 int isLeapMonth = 0; in matchString() local 2914 isLeapMonth = 0; in matchString() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ChineseCalendar.java | 175 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { in ChineseCalendar() argument 176 this(year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar() 197 public ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, in ChineseCalendar() argument 211 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 231 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) in ChineseCalendar() argument 233 this(era, year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar() 255 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, in ChineseCalendar() argument 267 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 867 boolean isLeapMonth = isLeapYear && in computeChineseFields() 872 internalSet(IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ChineseCalendar.java | 178 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { in ChineseCalendar() argument 179 this(year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar() 201 public ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, in ChineseCalendar() argument 215 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 236 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) in ChineseCalendar() argument 238 this(era, year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar() 261 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, in ChineseCalendar() argument 273 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 886 boolean isLeapMonth = isLeapYear && in computeChineseFields() 891 internalSet(IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | ChineseTestCase.java | 35 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) { in ChineseTestCase() argument 42 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase()
|
D | DangiTest.java | 234 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() 382 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument 383 return "" + year + "/" + (month + 1) + ((isLeapMonth != 0) ? "(leap)" : "") + "/" + day; in ymdToString()
|
D | ChineseTest.java | 371 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local 373 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution() 384 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution() 528 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument 530 ((isLeapMonth!=0)?"(leap)":"") + in ymdToString()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | ChineseTestCase.java | 34 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) { in ChineseTestCase() argument 41 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase()
|
D | DangiTest.java | 233 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local 235 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution() 246 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution() 381 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument 382 return "" + year + "/" + (month + 1) + ((isLeapMonth != 0) ? "(leap)" : "") + "/" + day; in ymdToString()
|
D | ChineseTest.java | 370 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local 372 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution() 383 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution() 527 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument 529 ((isLeapMonth!=0)?"(leap)":"") + in ymdToString()
|
/external/icu/icu4c/source/i18n/ |
D | chnsecal.cpp | 346 int32_t isLeapMonth = useMonth ? saveIsLeapMonth : 0; in handleComputeMonthStart() local 358 isLeapMonth != internalGet(UCAL_IS_LEAP_MONTH)) { in handleComputeMonthStart() 706 UBool isLeapMonth = isLeapYear && in computeChineseFields() local 711 internalSet(UCAL_IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields()
|
D | smpdtfmt.cpp | 1514 …int32_t isLeapMonth = (fSymbols->fLeapMonthPatterns != NULL && fSymbols->fLeapMonthPatternsCount >… in subFormat() local 1520 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatNarrow]… in subFormat() 1523 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneNar… in subFormat() 1529 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatWide]):… in subFormat() 1533 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneWid… in subFormat() 1539 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatAbbrev]… in subFormat() 1543 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneAbb… in subFormat() 1550 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternNumeric]): NU… in subFormat() 2775 int32_t isLeapMonth = 0; in matchString() local 2792 isLeapMonth = 1; in matchString() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 4174 public int isLeapMonth; in TestMonthPatterns() field in DateFormatTest.ChineseCalTestDate 4181 isLeapMonth = il; in TestMonthPatterns() 4252 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4272 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns() local 4274 …sult.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || da… in TestMonthPatterns() 4276 …ring \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day + in TestMonthPatterns() 4277 … ", 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/ |
D | DateFormatTest.java | 4173 public int isLeapMonth; in TestMonthPatterns() field in DateFormatTest.ChineseCalTestDate 4180 isLeapMonth = il; in TestMonthPatterns() 4251 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4271 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns() local 4273 …sult.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || da… in TestMonthPatterns() 4275 …ring \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day + in TestMonthPatterns() 4276 … ", got pos " + ppos.getIndex() + " era("+era+")-"+year+"-"+month+"("+isLeapMonth+")-"+day ); in TestMonthPatterns()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 4043 int32_t isLeapMonth; member 4131 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth); in TestMonthPatterns() 4150 … int32_t isLeapMonth = rootChineseCalendar->get(UCAL_IS_LEAP_MONTH, status); in TestMonthPatterns() local 4152 …h() || year != datePtr->year || month != datePtr->month || isLeapMonth != datePtr->isLeapMonth || … in TestMonthPatterns() 4154 …ult + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->d… in TestMonthPatterns() 4155 … ppos.getIndex() + " " + year +"-"+month+"("+isLeapMonth+")-"+day); in TestMonthPatterns()
|