Module temporal

Source
Expand description

Defines temporal kernels for time and date related functions.

Macrosยง

return_compute_error_with ๐Ÿ”’

Enumsยง

DatePart
Valid parts to extract from date/time/timestamp arrays.

Traitsยง

ChronoDateExt ๐Ÿ”’
ExtractDatePartExt ๐Ÿ”’
Implement the specialized functions for extracting date part from temporal arrays.

Functionsยง

date_part
Given an array, return a new array with the extracted DatePart as signed 32-bit integer values.
get_date_time_part_extract_fn ๐Ÿ”’
Returns function to extract relevant DatePart from types like a NaiveDateTime or DateTime.
get_tz ๐Ÿ”’
Extract optional [Tz] from timestamp data types, returning error if called with a non-timestamp type.