DateTimeExtension extension

on

Methods

isAfterDuration(Duration duration) bool

Available on DateTime, provided by the DateTimeExtension extension

Check if the date is after the current date
isBeforeDuration(Duration duration) bool

Available on DateTime, provided by the DateTimeExtension extension

Check if the date is before the current date