Represents one of the twelve months of the year.
Number of days of this month in a common year
Number of days of this month in a leap year
Returns a representation of an immutable list of all enum entries, in the order they're declared.
0: January, 1: February, 2: March, 3: April, 4: May, 5: June, 6: July, 7: August, 8: September, 9: October, 10: November, 11: December
1: January, 2: February, 3: March, 4: April, 5: May, 6: June, 7: July, 8: August, 9: September, 10: October, 11: November, 12: December
Next Month.
Previous Month.
Number of days in a specific month (28-31) depending whether the year or not.
Number of days in a specific month (28-31) depending whether the year is leap or not.
Number of days since the start of the year to reach next month.
Number of days since the start of the leap year to reach next month.
Number of days since the start of the year to reach this month.
Number of days since the start of the leap year to reach this month.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.
Creates a YearMonth representing this year and this month.