commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <>
Subject [lang] DurationFormat
Date Mon, 27 Sep 2004 04:45:28 GMT
I've managed to do a fair bit more on DurationFormat. Should be more accurate. 
One question is how to handle the following request when the duration
is 4 years:

  DurationFormatUtils.format(time, "M") 

Should it return 0, or 48? Currently it's implemented to return 48,
ie) it grows the value with the unrequested entry.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message