public void test_get_OffsetDate(int y, int m, int d, ZoneOffset offset) {

    LocalDate localDate = LocalDate.of(y, m, d);
    OffsetDate a = OffsetDate.of(localDate, offset);

    assertEquals(a.getDate(), localDate);
    assertEquals(a.getOffset(), offset);
    assertEquals(a.toString(), localDate.toString() + offset.toString());
    assertEquals(a.getYear(), localDate.getYear());
    assertEquals(a.getMonth(), localDate.getMonth());
    assertEquals(a.getDayOfMonth(), localDate.getDayOfMonth());
    assertEquals(a.getDayOfYear(), localDate.getDayOfYear());
    assertEquals(a.getDayOfWeek(), localDate.getDayOfWeek());
  }