DerivcoIpswich / dsharp

A fork of the Script# project.
http://www.derivco.co.uk
Other
20 stars 13 forks source link

Change Date prototype to contain equals and compareTo #246

Closed isc30 closed 4 years ago

isc30 commented 4 years ago

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.