We are using a mixed Java/Python stack, and would benefit from the addition of support for negative duration values in the ISO8601 period parsing. For example, PT6H-30M would correspond to a duration of 05:30:00.
As mentioned in #41, there is a precedent for supporting this format, looking for instance at MomentJS (moment/moment#2955).
Coverage remained the same at 94.433% when pulling ff458657d6902b3150b0cd022fe266bc348e9e37 on dgoldsb:negative-duration-values into 27cebc56a0f6a900eeb897512879d545095f410b on gweis:master.
Fixes #41.
We are using a mixed Java/Python stack, and would benefit from the addition of support for negative duration values in the ISO8601 period parsing. For example,
PT6H-30M
would correspond to a duration of05:30:00
.As mentioned in #41, there is a precedent for supporting this format, looking for instance at MomentJS (moment/moment#2955).