core / io.islandtime / Month / lastDayOfYearIn

lastDayOfYearIn

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun lastDayOfYearIn(year: Int): Int

Returns the day of the year that this month's last day falls on. This may vary depending on whether or not the year is a leap year. For example, the last of FEBRUARY will be either 59th or 60th day of the year.

Parameters

year - retrieve the day of year number within this year

Return
the last day of year number