Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 514 Bytes

duration-format-note.adoc

File metadata and controls

9 lines (8 loc) · 514 Bytes
Note

The format for durations uses the standard java.time.Duration format. You can learn more about it in the Duration#parse() javadoc.

You can also provide duration values starting with a number. In this case, if the value consists only of a number, the converter treats the value as seconds. Otherwise, PT is implicitly prepended to the value to obtain a standard java.time.Duration format.