IntDateTimeExten extension
- on
-
- int?
Methods
-
kformatDate(
{DateFormat dateFormat = DateFormat.def, bool isUtc = false}) → String -
Available on int?, provided by the IntDateTimeExten extension
毫秒 format 转换格式 -
kformatDateF(
String format, {bool isUtc = false}) → String -
Available on int?, provided by the IntDateTimeExten extension
毫秒 format 转换格式,自定义转换格式 -
kgetDateTime(
{bool isUtc = false}) → DateTime -
Available on int?, provided by the IntDateTimeExten extension
将毫秒时间转化为DateTime -
kisThisWeek(
{bool isUtc = false}) → bool -
Available on int?, provided by the IntDateTimeExten extension
根据时间戳判断是否是本周 -
kisToday(
{bool isUtc = false}) → bool -
Available on int?, provided by the IntDateTimeExten extension
判断是否为今天