public static YearsWindows years(int number) {
    return new YearsWindows(number, 1, 1, DEFAULT_START_DATE, DateTimeZone.UTC);
  }
@Test
  public void testYearsCompatibility() throws IncompatibleWindowException {
    CalendarWindows.YearsWindows yearsWindows = CalendarWindows.years(2017).beginningOnDay(1, 1);
    yearsWindows.verifyCompatibility(CalendarWindows.years(2017).beginningOnDay(1, 1));
    thrown.expect(IncompatibleWindowException.class);
    yearsWindows.verifyCompatibility(CalendarWindows.years(2017).beginningOnDay(1, 2));
  }