mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-6051 Changed from Calendar.IS_LEAP_MONTH to ChineseCalendar.IS_LEAP_MONTH in the data drive test generation code.
X-SVN-Rev: 23023
This commit is contained in:
parent
efc935f2d3
commit
7ccc5b70ff
1 changed files with 4 additions and 0 deletions
|
@ -196,6 +196,10 @@ outputJavaStuff(const char* progname, const char *outputDir) {
|
|||
switch(t) {
|
||||
case UDBG_UCalendarDateFields:
|
||||
case UDBG_UCalendarMonths:
|
||||
/* Temporary workaround for IS_LEAP_MOTH #6051 */
|
||||
if (t == UDBG_UCalendarDateFields && i == 22) {
|
||||
fprintf(out, "com.ibm.icu.util.ChineseCalendar.%s, /* %d */", udbg_enumName((UDebugEnumType)t,i), i);
|
||||
} else
|
||||
fprintf(out, "com.ibm.icu.util.Calendar.%s, /* %d */", udbg_enumName((UDebugEnumType)t,i), i);
|
||||
break;
|
||||
case UDBG_UDebugEnumType:
|
||||
|
|
Loading…
Add table
Reference in a new issue