Note that unlike Timestamp, this does *not* also overload comparison operators. Adding a `==` overload now would be a breaking change (as it would change the meaning of existing code from a reference comparison to a value comparison), and implementing `<`, `<=`, `>=` and `>` without implementing `==` would be odd. Implementing `IComparable<T>` makes sorting much easier, however. Fixes #7628pull/10441/head
parent
3c32c05e13
commit
8fd097b0da
2 changed files with 55 additions and 1 deletions
Loading…
Reference in new issue