pub unsafe fn time_tz_from_bits(bits: u64) -> Option<TimeTz>Expand description
Unpacks DuckDB’s TIME WITH TIME ZONE bit representation.
Returns None unless bits is an encoding time_tz_bits can produce:
a time of day between 00:00:00 and 24:00:00 and an offset within
±TIME_TZ_MAX_OFFSET_SECONDS. The 40-bit time field can hold about 12.7
days; duckdb_from_time_tz decomposes it with Time::Convert, whose
assertion aborts a DuckDB built with assertions on anything past a day
(see time_from_micros).
§Safety
See date_from_days.