[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Temporary fix for Turkish (and other) locales
From: |
Andrew John Hughes |
Subject: |
[cp-patches] Temporary fix for Turkish (and other) locales |
Date: |
Thu, 30 Dec 2004 16:24:46 +0000 |
Attached is a patch which fixes the formatting of the Turkish
(and presumably others with 0 fraction digits) locale, while we wait
for the currency format from CLDR to be updated (a CLDR bug, #461, has
been posted on this subject). This also solves a bug in DecimalFormatSymbols,
relating to the use of getCurrency() (which failed with our new currency
symbols).
2004-12-30 Andrew John Hughes <address@hidden>
* java/text/DecimalFormatSymbols.java
New transient currency variable.
(getCurrency()): uses local variable instead
(getExponential()): documentation
(setExponential(char)): documentation
(getInternationalCurrencySymbol()): documentation fix
(setInternationalCurrencySymbol(String)): sets currency
* java/text/NumberFormat.java
(getCurrencyInstance(java.util.Locale)): sets fraction digits
from the currency after creation of the format.
--
Andrew :-)
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
No software patents in Europe -- http://nosoftwarepatents.com
"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman
"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner
numberformat-03.diff
Description: Text document
signature.asc
Description: This is a digitally signed message part