min method

DateTime min(
  1. DateTime that
)

return the smaller date between

Implementation

DateTime min(DateTime that) =>
    (millisecondsSinceEpoch < that.millisecondsSinceEpoch) ? this : that;