compareTo method

int compareTo(
  1. Time other
)

Comparator function used for sorting purpose

Implementation

int compareTo(Time other) => asDateTime.compareTo(other.asDateTime);