public void test_withYear_int_adjustDay() {

    OffsetDate t = OffsetDate.of(2008, 2, 29, OFFSET_PONE).withYear(2007);
    OffsetDate expected = OffsetDate.of(2007, 2, 28, OFFSET_PONE);
    assertEquals(t, expected);
  }

  // -----------------------------------------------------------------------
  // withMonth()
  // -----------------------------------------------------------------------
  @Test(groups = { "tck" }