Parameters
- obj
- TdTime instance that will be compared to this instance of TdTime.
Return Value
true
is returned if the two TdTime are equal, false
otherwise.true
is returned if the two TdTime are equal, false
otherwise.false
will be returned if:
null
. true
will be returned if:
TdTime later = new TdTime(new TimeSpan(20, 30, 0)); Object earlier = new TdTime(new TimeSpan(15, 21, 0)); // The following comparison is equivalent to using // false == TdTime.Equals(later, (TdTime) earlier) // later != (TdTime) earlier // true == TdTime.NotEquals(later, (TdTime) earlier) // if (false == later.Equals(earlier)) { Console.WriteLine(“later does not equal earlier”); }
Product | Versions | Platforms |
---|---|---|
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |