isAtOrBefore method
Returns true if this
occurs at or before other
, accounting for time
zones.
Delegates to DateTime's built-in comparison methods and therefore obeys the same contract.
Implementation
bool isAtOrBefore(DateTime other) =>
isAtSameMomentAs(other) || isBefore(other);