Returns the Gregorian month length after validating year and month.
Signature
days_in_month :: (year: s64, month: s64) -> (s64, Time_Error)
n, error := days_in_month(2024, 2);
assert(error.kind == .NONE && n == 29);Returns the Gregorian month length after validating year and month.
days_in_month :: (year: s64, month: s64) -> (s64, Time_Error)
n, error := days_in_month(2024, 2);
assert(error.kind == .NONE && n == 29);