operator < method

bool operator <(
  1. DateTime other
)

Implementation

bool operator <(DateTime other) {
  return millisecondsSinceEpoch < other.millisecondsSinceEpoch;
}