@@ -0,0 +1,1136 @@
+package com.fasterxml.jackson.datatype.jsr310.failing;%0A%0Aimport java.time.Duration;%0A%0Aimport org.junit.Test;%0A%0Aimport com.fasterxml.jackson.annotation.JsonFormat;%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0Aimport com.fasterxml.jackson.databind.*;%0A%0Aimport com.fasterxml.jackson.datatype.jsr310.ModuleTestBase;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class DurationSer224Test extends ModuleTestBase%0A%7B%0A    // %5Bdatetime#224%5D%0A    static class MyDto224 %7B%0A      @JsonFormat(pattern = %22MINUTES%22%0A              // Work-around from issue:%0A//              , without = JsonFormat.Feature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS%0A      )%0A      @JsonProperty(%22mins%22)%0A      private final Duration duration;%0A    %0A      public MyDto224(Duration d) %7B duration = d; %7D%0A    %0A      public Duration getDuration() %7B return duration; %7D%0A    %7D%0A%0A    private final ObjectMapper MAPPER = newMapper();%0A%0A    // %5Bdatetime#224%5D%0A    @Test%0A    public void testDurationFormatOverride() throws Exception%0A    %7B%0A        final String json = MAPPER.writeValueAsString(new MyDto224(Duration.ofHours(2)));%0A        assertEquals(a2q(%22%7B'mins':120%7D%22), json);%0A    %7D%0A%7D%0A

Add a (failing) test for #224