@Override
  public int compare(ChronoZonedDateTime<?> date1, ChronoZonedDateTime<?> date2) {
    return ChronoZonedDateTime.timeLineOrder().compare(date1, date2);
  }
@Test
  void should_disregard_time_zone_difference() {
    ZonedDateTime now = ZonedDateTime.now();
    ZonedDateTime inParis = now.withZoneSameInstant(ZoneId.of("Europe/Paris"));
    ZonedDateTime inNewYork = now.withZoneSameInstant(ZoneId.of("America/New_York"));

    assertThat(inParis.compareTo(inNewYork)).as("Built-in comparison should report that they differ").isNotZero();
    assertThat(comparator.compare(inParis, inNewYork)).isZero();
  }