@Test(expected = DateTimeException.class)
public void leapSecondsNotSupported() {

    final OffsetDateTime time = DateTimeUtil.parseOffsetDateTime("1972-06-30T23:59:60Z");
    assertThat(time.toEpochSecond()).isEqualTo(2287785600L);
}