DurationExtensions extension

Provides extended methods for Duration.

Duration用の拡張メソッドを提供します。

on

Methods

format(String format) String
Parses Duration to String according to the definition given in format.
hhMM() String
Parse from Duration to String corresponding to format.
hhMMSS() String
Parse from Duration to String corresponding to format.
mmSS() String
Parse from Duration to String corresponding to format.