Skip to content

Commit e029f0c

Browse files
committed
ICU-22230 Remove temporary debug fprintf and calculation variables from computeMonthInfo in C++
1 parent 388ec54 commit e029f0c

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

icu4c/source/i18n/chnsecal.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -876,12 +876,6 @@ struct MonthInfo computeMonthInfo(
876876
if (U_FAILURE(status)) {
877877
return output;
878878
}
879-
if (gyear == 1890 || gyear == 1889) {
880-
UBool noTermF = hasNoMajorSolarTerm(timeZone, firstMoon, status);
881-
UBool noTermT = hasNoMajorSolarTerm(timeZone, output.thisMoon, status);
882-
UBool leapBetween = isLeapMonthBetween(timeZone, firstMoon, output.thisMoon, status);
883-
fprintf(stderr, "DEBUG %d: fMoon=%d (noTerm=%d) tMoon=%d (noTerm=%d) leapBetween=%d month=%d isLeap=%d\n", gyear, firstMoon, (int)noTermF, output.thisMoon, (int)noTermT, (int)leapBetween, output.month, (int)output.isLeapMonth);
884-
}
885879
return output;
886880
}
887881

0 commit comments

Comments
 (0)