Compare two DateOnly objects
the first DateOnly object
the second DateOnly object
a negative value if d1 is before d2, a positive value if d1 is after d2, or zero if they are the same
Compare two DateOnly objects