cmp
Compares two month values chronologically and returns -1, 0, or 1 — the
sort order of the receiver relative to the other month.
API Reference
Signatures
Parameters
Returns
Returns -1 when the left month is earlier, 1 when later, and 0 when the two
months are equal.