@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof ZoneTime that)) {
            return false;
        }
        return Objects.equals(offsetTime, that.offsetTime) && Objects.equals(zoneId, that.zoneId);
    }
@Test
    void testEquals() {
        ZoneTime toCompare = ZoneTime.of(DateTimeFormatter.ISO_TIME.parse("09:34:31", LocalTime::from), zoneId, false);
        assertFalse(zoneTime.equals(toCompare));
        toCompare = ZoneTime.of(localTime, zoneId, false);
        assertTrue(zoneTime.equals(toCompare));
    }