public void test_equals() {

    for (int i = -4; i <= 2104; i++) {
      Year a = Year.of(i);
      for (int j = -4; j <= 2104; j++) {
        Year b = Year.of(j);
        assertEquals(a.equals(b), i == j);
        assertEquals(a.hashCode() == b.hashCode(), i == j);
      }
    }
  }

  @Test(groups = { "tck" }