compareTo method

int compareTo(
  1. DateTime date
)

Compares the given date to the current one

@param date The date to compare with the current one @returns an int

Implementation

int compareTo(DateTime date) {
  return _date.compareTo(date);
}