fromDayOfYear

fun fromDayOfYear(dayOfYear: Int, leap: Boolean): Month?

Gets the Month of a dayOfYear in a leap year.

Returns null if the year doesn't contain that dayOfYear.


fun fromDayOfYear(dayOfYear: Int, year: Year): Month?

Gets the Month of a dayOfYear in the specified year.

Returns null if the year doesn't contain that dayOfYear.