public static Formatter forNumbers(@Nonnull String format) {
        return new NumberFormat(format);
    }
@Test
    public void testOrdinals() {
        Formatter f = forNumbers("9TH");
        check(-1, f, "-1ST");
        check( 0, f, " 0TH");
        check( 2, f, " 2ND");
        check( 3, f, " 3RD");

        f = forNumbers("FM999th");
        check(410, f, "410th");
        check(411, f, "411th");
        check(412, f, "412th");
        check(413, f, "413th");
        check(421, f, "421st");
        check(422, f, "422nd");
        check(423, f, "423rd");

        check(411.2, f, "411th");
        check(420.5, f, "421st");
    }