core / io.islandtime / Month / firstDayOfYearIn

firstDayOfYearIn

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

Returns the day of the year that this month's first days falls on. This may vary depending on whether or not the year is a leap year. For example, the first day of MARCH will be either 60th or 61st day of the year.

Parameters

year - retrieve the day of year number within this year

Return
the first day of year number