@@ -0,0 +1,710 @@
+package net.time4j;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.junit.runners.JUnit4;%0A%0Aimport java.util.Locale;%0A%0Aimport static net.time4j.Month.MAY;%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A%0A@RunWith(JUnit4.class)%0Apublic class FormattableTest %7B%0A%0A    @Test%0A    public void dateFormat() %7B%0A        assertThat(%0A            String.format(Locale.ENGLISH, %22%251$tb %251$te, %251$tY%22, PlainDate.of(1995, MAY, 23)),%0A            is(%22May 23, 1995%22)%0A        );%0A    %7D%0A%0A    @Test%0A    public void timeFormat() %7B%0A        assertThat(%0A            String.format(Locale.ENGLISH, %22%251$tr%22, PlainTime.of(17, 45, 23)),%0A            is(%2205:45:23 PM%22)%0A        );%0A    %7D%0A%0A%7D%0A

test for using java.util.Formatter