FastFormat class

FastFormat

Constructors

FastFormat()

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

deleteHtmlTag(String context) → String
getDateTime({String formartDate = "1970-10-01 00:00:00"}) → DateTime
getMilliseconds({String formartDate = "1970-10-01 00:00:00"}) → int
getMonth(int month, [dynamic type = 2]) → String
月转换
getWeek(int week, [dynamic type = 2]) → String
周转换
phoneShort(String phone) → String
手机号缩略显示
stringDisposeWithDouble(dynamic v, [dynamic fix = 2]) → String
stringToString(dynamic v, dynamic format) → String
时间戳转换格式
timeFromNow(dynamic timeStamp, [dynamic bad = false]) → String
距离现在多久
timeStampToString(dynamic timestamp, dynamic format) → String
时间戳转换格式