Determines whether two specified DateTimeOffset objects represent the same point in time.
true if the two DateTimeOffset objects have the same DateTimeOffset.UtcDateTime value; otherwise, false.
Before it performs the comparison, this method converts both DateTimeOffset objects to Coordinated Universal Time (UTC). The method is equivalent to the following:
code reference: System.DateTimeOffset.Syntax#4
In other words, the DateTimeOffset.Equals(DateTimeOffset, DateTimeOffset) method determines whether the two DateTimeOffset objects represent a single point in time. It directly compares neither dates and times nor offsets. To determine whether two DateTimeOffset objects represent the same time and have the same offset value, use the DateTimeOffset.EqualsExact(DateTimeOffset) method.