commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <flame...@gmail.com>
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.

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message