Resolves 1-indexed day-of-year (1..366) to month (1..12) and day (1..31) using pure integer arithmetic. Returns undefined for a day outside the given year, including day 366 in a non-leap year.
Resolves 1-indexed day-of-year (1..366) to month (1..12) and day (1..31) using pure integer arithmetic. Returns undefined for a day outside the given year, including day 366 in a non-leap year.