TimeFormat class

Constructors

TimeFormat()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

currentTimeMillis() int
返回当前时间戳
getMonthDate(int iMonth) → dynamic
获得当前日期 未来/过去 第某个月第一天和最后一天时间
getStartEndYearDate(int iYear) → dynamic
获取某一年的第一个月的第一天和最后一个月的最后一天
getTimestampLatest(bool phase, int day) int
phase : 是零点还是23:59:59
getWeeksDate(int weeks) → dynamic
当前时间 过去/未来 某个周的周一和周日
timeConversion(int monthTime, String yearTime) → dynamic
turnTimestamp(String timestamp) int
转时间戳