DateTimeComparison extension

on

Methods

format({String dateFormat = DateTimeFormatsVN.dateOnly}) String

Available on DateTime, provided by the DateTimeComparison extension

Formats the DateTime object into a string using the specified format.
formatDurationTime() String

Available on DateTime, provided by the DateTimeComparison extension

getEndOfDay() DateTime

Available on DateTime, provided by the DateTimeComparison extension

getStartOfDay() DateTime

Available on DateTime, provided by the DateTimeComparison extension

Operators

operator -(DateTime other) Duration

Available on DateTime, provided by the DateTimeComparison extension

operator <(DateTime other) bool

Available on DateTime, provided by the DateTimeComparison extension

operator <=(DateTime other) bool

Available on DateTime, provided by the DateTimeComparison extension

operator >(DateTime other) bool

Available on DateTime, provided by the DateTimeComparison extension

operator >=(DateTime other) bool

Available on DateTime, provided by the DateTimeComparison extension