Click or drag to resize

LocalDateTime Methods

The LocalDateTime 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 LocalDateTime value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified LocalDateTime value.
Public methodCompareTo(LocalDateTime)
Compares the value of this instance to a specified LocalDateTime 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(LocalDateTime)
Returns a value indicating whether the value of this instance is equal to the value of the specified LocalDateTime instance.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToDateTime
Converts this date value to a DateTime instance.
Public methodToString
Converts the value of the current LocalDateTime object to its equivalent string representation.
(Overrides ObjectToString.)
Top
See Also