Click or drag to resize

LocalDate Methods

The LocalDate 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 LocalDate value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified LocalDate value.
Public methodCompareTo(LocalDate)
Compares the value of this instance to a specified LocalDate 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(LocalDate)
Returns a value indicating whether the value of this instance is equal to the value of the specified LocalDate 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 LocalDate object to its equivalent string representation.
(Overrides ObjectToString.)
Top
See Also