Validates Gregorian components without clamping.
date :: (year: s64, month: s64, day: s64) -> (Date, Time_Error)
d, error := date(2024, 2, 29); assert(error.kind == .NONE && d.day == 29); _, bad := date(2023, 2, 29); assert(bad.kind == .INVALID_VALUE);