inline operator fun MonthDay.component1(): Month
Return the Month component of this MonthDay.
This method allows to use destructuring declarations when working with month-days, for example:
val (month, day) = myMonthDay
See Also
MonthDay.getMonth