DurationNumberExtension extension
Extension methods on numbers for duration shorthand Example: 500.ms, 0.5.s, 5.m
- on
Properties
- h → DurationShorthand
-
Available on num, provided by the DurationNumberExtension extension
Create duration in hours Example: 1.h, 0.5.hno setter - m → DurationShorthand
-
Available on num, provided by the DurationNumberExtension extension
Create duration in minutes Example: 5.m, 0.5.mno setter - ms → DurationShorthand
-
Available on num, provided by the DurationNumberExtension extension
Create duration in milliseconds Example: 500.msno setter - s → DurationShorthand
-
Available on num, provided by the DurationNumberExtension extension
Create duration in seconds Example: 0.5.s, 5.sno setter