TimeUtils class

Constructors

TimeUtils()

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

intToStr(int v) → String
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

calcDay(int year, int month, {int begin = 1, int end = 31}) → List
日
calcHour({int begin = 0, int end = 23}) → List
时
calcMinAndSecond({int begin = 0, int end = 59}) → List
分 和 秒
calcMonth({int begin = 1, int end = 12}) → List
月
calcYears({int begin = 1900, int end = 2100}) → List
年