Click or drag to resize

ZonedDateTime Methods

The ZonedDateTime type exposes the following members.

Methods
  NameDescription
Public methodCompareTo(Object)
Compares the value of this instance to a specified object which is expected to be a ZonedDateTime value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified ZonedDateTime value.
Public methodCompareTo(ZonedDateTime)
Compares the value of this instance to a specified ZonedDateTime value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified DateTime value.
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ObjectEquals(Object).)
Public methodEquals(ZonedDateTime)
Returns a value indicating whether the value of this instance is equal to the value of the specified ZonedDateTime instance.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToDateTimeOffset
Converts this instance to an equivalent DateTimeOffset value
Public methodToString
Converts the value of the current ZonedDateTime object to its equivalent string representation.
(Overrides ObjectToString.)
Top
Extension Methods
See Also