public override int GetHashCode() { unchecked { return((ReadingTime.GetHashCode() * 397) ^ Temp.GetHashCode()); } }
public bool Equals(WeatherReading other) { return(ReadingTime.Equals(other.ReadingTime) && Temp.Equals(other.Temp)); }
public int CompareTo(WeatherReading other) { return(ReadingTime.CompareTo(other.ReadingTime)); }
public String ReadingDateStr(bool withDOW = false) { string str = ReadingTime.ToString("M/d/yy"); return((withDOW) ? DOWStr[(int)ReadingTime.DayOfWeek] + " " + str : str); }