Returns exact elapsed hours between consecutive local day starts.
Signature
hours_in_day :: (value: Zoned) -> (float64, 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);
day, _ := to_zoned(.{ .{ 2024, 3, 10 }, .{ 12, 0, 0, 0 } }, zone);
hours, error := hours_in_day(day);
assert(error.kind == .NONE && hours == 23);