R
Rhino
I am writing an application in which I want to present a value that
represents the time remaining on a task, expressed in hours, minutes, and
seconds. In English, this would typically be presented as follows:
The time remaining is 4:05:24 (hours:minutes:seconds).
[I plan to include a bracketed string like '(hours:minutes:seconds)',
translated to the appropriate language, for each locale that I support, just
to make sure no one mistakenly assumes I mean 4 minutes, 5 seconds, and 24
hundreds - or 4 days, 5 hours, and 24 minutes!]
However, I feel sure that other locales will use different characters (or
spaces) in place of the colons that we use in English in presenting this
information.
Does anyone know how I can determine what 'punctuation' (for want of a
better term) I should be using for each locale and, especially, what Java
methods will determine the appropriate punctuation for a given locale?
--
Rhino
---
rhino1 AT sympatico DOT ca
"There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that there are no obvious deficiencies." - C.A.R.
Hoare
represents the time remaining on a task, expressed in hours, minutes, and
seconds. In English, this would typically be presented as follows:
The time remaining is 4:05:24 (hours:minutes:seconds).
[I plan to include a bracketed string like '(hours:minutes:seconds)',
translated to the appropriate language, for each locale that I support, just
to make sure no one mistakenly assumes I mean 4 minutes, 5 seconds, and 24
hundreds - or 4 days, 5 hours, and 24 minutes!]
However, I feel sure that other locales will use different characters (or
spaces) in place of the colons that we use in English in presenting this
information.
Does anyone know how I can determine what 'punctuation' (for want of a
better term) I should be using for each locale and, especially, what Java
methods will determine the appropriate punctuation for a given locale?
--
Rhino
---
rhino1 AT sympatico DOT ca
"There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that there are no obvious deficiencies." - C.A.R.
Hoare