| java.lang.Object com.ibm.icu.dev.demo.number.CurrencyDemo
CurrencyDemo | public class CurrencyDemo (Code) | | Demonstration code to illustrate how to obtain ICU 2.6-like currency
behavior using pre-ICU 2.6 ICU4J.
author: Mark Davis |
Inner Class :static class HackCurrencyInfo | |
Method Summary | |
static NumberFormat | getCurrencyFormat(Currency currency, Locale displayLocale, boolean ICU26) | public static void | main(String[] args) | static void | testFormatHack(boolean quiet) Walk through all locales and compare the output of the ICU26
currency format with the "hacked" currency format.
Parameters: quiet - if true, only display discrepancies. |
testFormatHack | static void testFormatHack(boolean quiet)(Code) | | Walk through all locales and compare the output of the ICU26
currency format with the "hacked" currency format.
Parameters: quiet - if true, only display discrepancies. Otherwise,display all results. |
|
|