Click or drag to resize

TimeOffset Methods

The TimeOffset type exposes the following members.

Public methodCompareTo
Compares the value of this instance to a specified TimeOffset value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified TimeOffset value.
Public methodEquals(Object)
Determines whether the specified Object is equal to this TimeOffset instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(TimeOffset)
Determines whether the other TimeOffset is equal to this TimeOffset instance.
Public methodStatic memberFrom

Converts a time amount value in a specified time unit to a TimeOffset instance.

Negative value is automatically coerced to zero.

Public methodGetHashCode
Returns a hash code for this TimeOffset instance.
(Overrides ValueTypeGetHashCode.)
Public methodTo
Converts this TimeOffset instance to an another TimeOffset instance with the specified time unit.
Public methodToString
Returns a String that represents this TimeOffset instance.
(Overrides ValueTypeToString.)
Public methodToString(String, IFormatProvider)
Returns a String that represents this TimeOffset instance in a specified format by using a specified format provider.
See Also