im/tool library

Functions

formatTimestamp(int timestamp) → String
格式化时间戳(兼容10位和13位)
formatTimestampWithFullAndSimple(int timestamp) → FormatTimestampWithFullAndSimpleResult
格式化时间戳,返回完整和简略两种格式
isExceedSeconds(int timestamp1, int timestamp2, {required double seconds}) → bool
判断时间戳差值是否超过指定秒数