IntDateTimeExten extension
- on
-
- int?
Methods
-
formatDate(
{DateFormat dateFormat = DateFormat.defValue, bool isUtc = false}) → String - 毫秒 format 转换格式
-
formatDateF(
String format, {bool isUtc = false}) → String - 毫秒 format 转换格式,自定义转换格式
-
getDateTime(
{bool isUtc = false}) → DateTime - 将毫秒时间转化为DateTime
-
isThisWeek(
{bool isUtc = false}) → bool - 根据时间戳判断是否是本周