public void test_toString_formatter() {

    DateTimeFormatter f = DateTimeFormatters.pattern("y");
    String t = Year.of(2010).toString(f);
    assertEquals(t, "2010");
  }

  @Test(expectedExceptions = NullPointerException.class, groups = { "tck" }