DurationExtensions extension
返回时间差 Duration 的扩展
- on
Properties
- days → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为天的 Durationno setter - hours → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为小时的 Durationno setter - microseconds → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为微秒的 Durationno setter - milliseconds → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为毫秒的 Durationno setter - minutes → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为分钟的 Durationno setter - months → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为月的 Duration(假设一个月为30天)no setter - quadrimesters → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为四个月的 Duration(假设四个月为120天)no setter - quarters → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为季度的 Duration(假设一个季度为90天)no setter - seconds → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为秒的 Durationno setter - years → Duration
-
Available on num, provided by the DurationExtensions extension
将数字转换为年的 Duration(假设一年为365天)no setter