/// <summary> /// Compares this instance value to another and returns an indication of their relative values. /// </summary> /// <param name="other"></param> /// <returns></returns> public int CompareTo(LocalDate other) { if ((object)other == null) { return(1); } return(DaysSinceEpochCentered.CompareTo(other.DaysSinceEpochCentered)); }
public override int GetHashCode() { return(DaysSinceEpochCentered.GetHashCode()); }