@Test public void testFormatWithHigherPrecisionThanTime() { DateTimeFormatter format = PointInTimeFormat.forPattern("MMM yyyy"); PointInTime t = new PointInTime(1975, 7); Assert.assertEquals("Jul 1975", format.print(t)); t = new PointInTime(1975); Assert.assertEquals("\ufffd 1975", format.print(t)); }
public static DateTimeFormatter forPattern(String pattern) { return DateTimeFormat.forPattern(pattern); }
PointInTimeFormat { public static DateTimeFormatter forPattern(String pattern) { return DateTimeFormat.forPattern(pattern); } }
PointInTimeFormat { public static DateTimeFormatter forPattern(String pattern) { return DateTimeFormat.forPattern(pattern); } protected  PointInTimeFormat(); }
PointInTimeFormat { public static DateTimeFormatter forPattern(String pattern) { return DateTimeFormat.forPattern(pattern); } protected  PointInTimeFormat(); static DateTimeFormatter forPattern(String pattern); static DateTimeFormatter date(); static DateTimeFormatter dateTime(); static DateTimeFormatter time(); static DateTimeFormatter year(); static DateTimeFormatter monthAndYear(); static DateTimeFormatter forPointInTime(PointInTime t); static DateTimeFormatter forPrecision(Precision p); }
PointInTimeFormat { public static DateTimeFormatter forPattern(String pattern) { return DateTimeFormat.forPattern(pattern); } protected  PointInTimeFormat(); static DateTimeFormatter forPattern(String pattern); static DateTimeFormatter date(); static DateTimeFormatter dateTime(); static DateTimeFormatter time(); static DateTimeFormatter year(); static DateTimeFormatter monthAndYear(); static DateTimeFormatter forPointInTime(PointInTime t); static DateTimeFormatter forPrecision(Precision p);  }