DateTimeUtcLessOrEqualOrInvalid🔗
Check that the date-time
that is before or at the same instant as
other, unless either of them is invalid.
The invalid date-times are reported by the invariants of
DateTimeUtc, so that we do not report them twice.
See DateTimeUtcLess.
Code
other_less = date_time_UTC_less(other, that)
if other_less is None:
return True
return not other_less