LocalDate Methods |
The LocalDate type exposes the following members.
Name | Description | |
---|---|---|
CompareTo |
Compares this instance value to another and returns an indication of their relative values.
| |
DaysSinceJan1 |
Returns the amount of days since Jan 1, for a given month/day
| |
Equals(Object) | (Overrides ObjectEquals(Object).) | |
Equals(LocalDate) |
Determines if the value is equal to this instance.
| |
GetHashCode | (Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Parse |
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).
| |
ToDateTimeOffset |
Returns the DateTimeOffset representation of the LocalDate for dates between 0001-01-01 and 9999-12-31
| |
ToString |
Returns the string representation of the LocalDate in yyyy-MM-dd format
(Overrides ObjectToString.) |