Hi to all, I used FastDateFormat to convert a date object to string
using this pattern yyyy-MM-dd. No zeros are padded if I my year is 0001. I’m getting 1-01-01. After looking through the code, I replaced line 498 rule = UnpaddedNumberField.INSTANCE_YEAR; to rule = selectNumberRule(Calendar.YEAR, tokenLen); And it fixed the problem. Is the current behavior a feature (by design) or a bug? If
it’s a bug, can we put my change in? Thanks. Jerson |
*********************************************************************** Bear Stearns is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this communication. ***********************************************************************
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]