ICU-182 minor code cleanup

X-SVN-Rev: 684
This commit is contained in:
Alan Liu 2000-01-25 02:12:12 +00:00
parent 6e75fbd00c
commit edad3a22da

View File

@ -534,12 +534,6 @@ SimpleDateFormat::subFormat(UnicodeString& result,
// for "yyyy", write out the whole year; for "yy", write out the last 2 digits
case kYearField:
if (count >= 4)
zeroPaddingNumber(result, value, 4, maxIntCount);
else
zeroPaddingNumber(result, value, 2, 2);
break;
case kYearWOYField:
if (count >= 4)
zeroPaddingNumber(result, value, 4, maxIntCount);