@Override
    public String convertTo(Duration value) {
        // Durations will always be converted to ISO8601 formatted Strings
        // There is no meaningful way to convert them back to a simple jadconfig 'number+unit' format.
        return value.toString();
    }
@Test
    public void convertTo() {
        assertThat(converter.convertTo(Duration.ofMillis(10))).isEqualTo("PT0.01S");
        assertThat(converter.convertTo(Duration.ofSeconds(10))).isEqualTo("PT10S");
        assertThat(converter.convertTo(Duration.ofSeconds(70))).isEqualTo("PT1M10S");
    }