ICU-182 minor code cleanup
X-SVN-Rev: 684
This commit is contained in:
parent
6e75fbd00c
commit
edad3a22da
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user