• Compare two DateOnly objects

    Parameters

    Returns number

    a negative value if d1 is before d2, a positive value if d1 is after d2, or zero if they are the same