discontinuedPackage awesome_ext has been discontinued.

DateTimeExt extension

on

Methods

applied(TimeOfDay time) → DateTime

Available on DateTime, provided by the DateTimeExt extension

format(int time, {String format = 'yy-MM-dd hh:mm:ss'}) → String

Available on DateTime, provided by the DateTimeExt extension

yy-MM-dd hh:mm:ss @param time 秒级
hourMinSec(int time) → String

Available on DateTime, provided by the DateTimeExt extension

获取剩余时间 时分秒: 12:03:01