compareDesc static method
Compare the two dates and return -1 if the first date isAfter the second, 1 if the first date isBefore the second or 0 first date isEqual the second.
Implementation
static int compareDesc(DateTime dateLeft, DateTime dateRight) =>
(-1) * compareAsc(dateLeft, dateRight);