/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 | 1642 …int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= … in subFormat() local 1647 …safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapM… in subFormat() 1649 …AppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1654 …safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPa… in subFormat() 1657 …safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.l… in subFormat() 1662 …safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMo… in subFormat() 1665 …eAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1673 …safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatte… in subFormat() 2908 int isLeapMonth = 0; in matchString() local 2921 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 | 1652 …int isLeapMonth = (formatData.leapMonthPatterns != null && formatData.leapMonthPatterns.length >= … in subFormat() local 1657 …safeAppendWithMonthPattern(formatData.narrowMonths, value, buf, (isLeapMonth!=0)? formatData.leapM… in subFormat() 1659 …AppendWithMonthPattern(formatData.standaloneNarrowMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1664 …safeAppendWithMonthPattern(formatData.months, value, buf, (isLeapMonth!=0)? formatData.leapMonthPa… in subFormat() 1667 …safeAppendWithMonthPattern(formatData.standaloneMonths, value, buf, (isLeapMonth!=0)? formatData.l… in subFormat() 1672 …safeAppendWithMonthPattern(formatData.shortMonths, value, buf, (isLeapMonth!=0)? formatData.leapMo… in subFormat() 1675 …eAppendWithMonthPattern(formatData.standaloneShortMonths, value, buf, (isLeapMonth!=0)? formatData… in subFormat() 1683 …safeAppendWithMonthPattern(monthNumberStrings, 0, buf, (isLeapMonth!=0)? formatData.leapMonthPatte… in subFormat() 2922 int isLeapMonth = 0; in matchString() local 2935 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 | 1505 …int32_t isLeapMonth = (fSymbols->fLeapMonthPatterns != NULL && fSymbols->fLeapMonthPatternsCount >… in subFormat() local 1511 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatNarrow]… in subFormat() 1514 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneNar… in subFormat() 1520 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatWide]):… in subFormat() 1524 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneWid… in subFormat() 1530 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatAbbrev]… in subFormat() 1534 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternStandaloneAbb… in subFormat() 1541 …(isLeapMonth!=0)? &(fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternNumeric]): NU… in subFormat() 2810 int32_t isLeapMonth = 0; in matchString() local 2827 isLeapMonth = 1; in matchString() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 4178 public int isLeapMonth; in TestMonthPatterns() field in DateFormatTest.ChineseCalTestDate 4185 isLeapMonth = il; in TestMonthPatterns() 4256 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4276 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns() local 4278 …sult.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || da… in TestMonthPatterns() 4280 …ring \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day + in TestMonthPatterns() 4281 … ", 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 | 4181 public int isLeapMonth; in TestMonthPatterns() field in DateFormatTest.ChineseCalTestDate 4188 isLeapMonth = il; in TestMonthPatterns() 4259 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4279 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns() local 4281 …sult.length() || year != date.year || month != date.month || isLeapMonth != date.isLeapMonth || da… in TestMonthPatterns() 4283 …ring \"" + result + "\", expected " + date.year+"-"+date.month+"("+date.isLeapMonth+")-"+date.day + in TestMonthPatterns() 4284 … ", got pos " + ppos.getIndex() + " era("+era+")-"+year+"-"+month+"("+isLeapMonth+")-"+day ); in TestMonthPatterns()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 4048 int32_t isLeapMonth; member 4136 rootChineseCalendar->set(UCAL_IS_LEAP_MONTH, datePtr->isLeapMonth); in TestMonthPatterns() 4155 … int32_t isLeapMonth = rootChineseCalendar->get(UCAL_IS_LEAP_MONTH, status); in TestMonthPatterns() local 4157 …h() || year != datePtr->year || month != datePtr->month || isLeapMonth != datePtr->isLeapMonth || … in TestMonthPatterns() 4159 …ult + "\", expected " + datePtr->year +"-"+datePtr->month+"("+datePtr->isLeapMonth+")-"+datePtr->d… in TestMonthPatterns() 4160 … ppos.getIndex() + " " + year +"-"+month+"("+isLeapMonth+")-"+day); in TestMonthPatterns()
|