/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 | 1661 …int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= … in subFormat() local 1666 …safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapM… in subFormat() 1668 …AppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1673 …safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPa… in subFormat() 1676 …safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.l… in subFormat() 1681 …safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMo… in subFormat() 1684 …eAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1692 …safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatte… in subFormat() 2945 int isLeapMonth = 0; in matchString() local 2958 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 | 1673 …int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= … in subFormat() local 1678 …safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapM… in subFormat() 1680 …AppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1685 …safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPa… in subFormat() 1688 …safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.l… in subFormat() 1693 …safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMo… in subFormat() 1696 …eAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1704 …safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatte… in subFormat() 2961 int isLeapMonth = 0; in matchString() local 2974 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/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 | 236 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local 238 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution() 249 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution() 384 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument 385 return "" + year + "/" + (month + 1) + ((isLeapMonth != 0) ? "(leap)" : "") + "/" + day; in ymdToString()
|
D | ChineseTest.java | 373 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local 375 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution() 386 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution() 530 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument 532 ((isLeapMonth!=0)?"(leap)":"") + in ymdToString()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | ChineseTestCase.java | 37 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) { in ChineseTestCase() argument 44 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase()
|
D | DangiTest.java | 239 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local 241 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution() 252 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution() 387 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument 388 return "" + year + "/" + (month + 1) + ((isLeapMonth != 0) ? "(leap)" : "") + "/" + day; in ymdToString()
|
D | ChineseTest.java | 376 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() local 378 if (expMonth == month && expIsLeapMonth == isLeapMonth && in TestResolution() 389 "=" + (month+1) + "," + isLeapMonth + "," + dom + in TestResolution() 533 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument 535 ((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 | 1582 …int32_t isLeapMonth = (fSymbols->fLeapMonthPatterns != NULL && fSymbols->fLeapMonthPatternsCount >… in subFormat() local 1588 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatNarrow]… in subFormat() 1591 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneNar… in subFormat() 1597 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatWide]):… in subFormat() 1601 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneWid… in subFormat() 1607 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatAbbrev]… in subFormat() 1611 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneAbb… in subFormat() 1618 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternNumeric]): NU… in subFormat() 2894 int32_t isLeapMonth = 0; in matchString() local 2911 isLeapMonth = 1; in matchString() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 4266 public int isLeapMonth; in TestMonthPatterns() field in DateFormatTest.ChineseCalTestDate 4273 isLeapMonth = il; in TestMonthPatterns() 4344 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4364 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns() local 4366 …sult.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || da… in TestMonthPatterns() 4368 …ring \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day + in TestMonthPatterns() 4369 … ", got pos " + ppos.getIndex() + " era("+era+")-"+year+"-"+month+"("+isLeapMonth+")-"+day ); in TestMonthPatterns()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 4269 public int isLeapMonth; in TestMonthPatterns() field in DateFormatTest.ChineseCalTestDate 4276 isLeapMonth = il; in TestMonthPatterns() 4347 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4367 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns() local 4369 …sult.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || da… in TestMonthPatterns() 4371 …ring \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day + in TestMonthPatterns() 4372 … ", got pos " + ppos.getIndex() + " era("+era+")-"+year+"-"+month+"("+isLeapMonth+")-"+day ); in TestMonthPatterns()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 4112 int32_t isLeapMonth; member 4200 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth); in TestMonthPatterns() 4219 … int32_t isLeapMonth = rootChineseCalendar->get(UCAL_IS_LEAP_MONTH, status); in TestMonthPatterns() local 4221 …h() || year != datePtr->year || month != datePtr->month || isLeapMonth != datePtr->isLeapMonth || … in TestMonthPatterns() 4223 …ult + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->d… in TestMonthPatterns() 4224 … ppos.getIndex() + " " + year +"-"+month+"("+isLeapMonth+")-"+day); in TestMonthPatterns()
|