The compare() method returns -1, 0, or 1 indicating if the first instant is shorter, equal to, or longer than the second.