DateTimeExtension extension
日期扩展
- on
Properties
- isToday → bool
-
Available on DateTime, provided by the DateTimeExtension extension
是否为今天no setter - isTomorrow → bool
-
Available on DateTime, provided by the DateTimeExtension extension
是否为明天no setter - isYesterday → bool
-
Available on DateTime, provided by the DateTimeExtension extension
是否为昨天no setter - timeStamp → int
-
Available on DateTime, provided by the DateTimeExtension extension
timestamp secondsno setter
Methods
-
format(
[String format = "yyyy-MM-dd HH:mm:ss"]) → String -
Available on DateTime, provided by the DateTimeExtension extension
获取指定格式的当前时间