public static Formatter forNumbers(@Nonnull String format) {
        return new NumberFormat(format);
    }
@Test
    public void testLocales() {
        Formatter f = forNumbers("FM9G999D99 CR");
        check(1234.56, f, "1,234.56 $", US);
        check(1234.56, f, "1.234,56 ₺", TR);

        Locale fr_CH = new Locale("fr", "CH");
        f = forNumbers("FM9G999D99");
        check(1234.56, f, "1 234,56", fr_CH);
        f = forNumbers("FM9G999D99 CR");
        check(1234.56, f, "1 234.56 CHF", fr_CH);
    }