I tried to avoid changing Date prototype for equals and compareTo but it doesn't pay off since then you cannot cast DateTime to IEquatable<T> and call Equals without a member.
This PR introduces the members so we don't need hacks (static funcs) behind them.
I tried to avoid changing Date prototype for
equals
andcompareTo
but it doesn't pay off since then you cannot castDateTime
toIEquatable<T>
and callEquals
without a member. This PR introduces the members so we don't need hacks (static funcs) behind them.