DateTimeExtension extension

on

Methods

isDayAfterTomorrow({DateTime? today}) → bool

Available on DateTime, provided by the DateTimeExtension extension

检查是否为后天
isOverdue({DateTime? today}) → bool

Available on DateTime, provided by the DateTimeExtension extension

检查是否已经过期
isSameDay(DateTime compareDate) → bool

Available on DateTime, provided by the DateTimeExtension extension

检查是否为同一天
isSameMonth({DateTime? compareDate}) → bool

Available on DateTime, provided by the DateTimeExtension extension

isToday({DateTime? today}) → bool

Available on DateTime, provided by the DateTimeExtension extension

检查是否为今天
isTomorrow({DateTime? today}) → bool

Available on DateTime, provided by the DateTimeExtension extension

检查是否为明天
toChatTimeFormat() → String

Available on DateTime, provided by the DateTimeExtension extension