Click or drag to resize
LocalDate Methods

The LocalDate type exposes the following members.

Methods
  NameDescription
Public methodCompareTo
Compares this instance value to another and returns an indication of their relative values.
Public methodStatic memberDaysSinceJan1
Returns the amount of days since Jan 1, for a given month/day
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodEquals(LocalDate)
Determines if the value is equal to this instance.
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodStatic memberParse
Creates a new instance of LocalDate using the year, month and day provided in the form: yyyy-mm-dd or days since epoch (i.e. -1 for Dec 31, 1969).
Public methodToDateTimeOffset
Returns the DateTimeOffset representation of the LocalDate for dates between 0001-01-01 and 9999-12-31
Public methodToString
Returns the string representation of the LocalDate in yyyy-MM-dd format
(Overrides ObjectToString.)
Top
See Also