Name: rm29839 Date: 01/28/98
I need to parse/format time durations, like
10 hours, 6 minutes, 23 seconds into an
integer, i.e. the number of milliseconds,
in a locale-aware way.
For the US English Locale, for example,
123:04:20 should be 123 hours + 4 minutes
+ 20 seconds. Other locales user different
separators and/or ordering.
The current DateFormat is not appropriate for
this. A Date is a specific instance in time.
How would one parse "12-Jun-98 10:32 AM" into
a time duration?
(Review ID: 23685)
======================================================================