Re: Locale class>>#englishUS request
Posted by Chris Uppal-3 on Jun 28, 2006; 10:05am
URL: https://forum.world.st/Locale-class-englishUS-request-tp3379269p3379273.html
Esteban A. Maringolo wrote:
> Please treat this as a enhancement request.
While we're on the subject of enhancement requests for Locales -- it would help
if the Locale could cache more data than the currently (rather ugly) hardwired
list of 8 "features":
dateSeparator
decimalSeparator
listSeparator
timeSeparator
currencySymbol
amDesignator
pmDesignator
dayNames
monthNames
I suggest adding a small hash table to each Locale (and maybe downgrade the
less frequently used instvars to be entries in that table).
My localised number printing/parsing stuff would would use that if it were
available -- there are at least 8 additional candidate fields.
-- chris