Esempio n. 1
0
 /// <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));
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     return(DaysSinceEpochCentered.GetHashCode());
 }