YearMonthDay Methods |
The YearMonthDay type exposes the following members.
Name | Description | |
---|---|---|
CompareTo(Object) |
Compares this instance with another instance of the same type.
| |
CompareTo(YearMonthDay) |
Compares this instance with another instance of the same type.
| |
DaysInMonth |
Provides the number of days in the month of the indicated year.
| |
DaysInYear |
Provides the number of days in the indicated year.
| |
Equals(Object) |
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
Equals(YearMonthDay) |
Indicates whether another instance of this type is exactly equal to this instance.
| |
GetHashCode |
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsLeapYear |
Indicates whether the year in question is a leap year.
| |
IsValidDate |
Indicates whether the year, month, and day are a valid representation.
| |
ToString |
Returns a string formatted as Year:Month:Day
(Overrides ValueTypeToString.) |