Finds the first valid instant of the local date, including days starting after midnight.
Signature
start_of_day :: (value: Zoned) -> (Zoned, Time_Error)
zone, zone_error := time_zone_from_posix("EST5EDT,M3.2.0,M11.1.0");
assert(zone_error.kind == .NONE);
defer time_zone_free(*zone);
noon, _ := to_zoned(.{ .{ 2024, 3, 10 }, .{ 15, 0, 0, 0 } }, zone);
start, error := start_of_day(noon);
assert(error.kind == .NONE && to_civil(zone, start.timestamp).time.hour == 0);