DurationExtension extension
Extension methods for Duration.
- on
Methods
-
clamp(
Duration min, Duration max) → Duration -
Available on Duration, provided by the DurationExtension extension
Returns clamp of Duration betweenmin
andmax
. -
label(
{Duration? reference}) → String -
Available on Duration, provided by the DurationExtension extension
Returns a String representation of Duration.