Expand description
Defines temporal kernels for time and date related functions.
Macrosยง
Enumsยง
- Date
Part - Valid parts to extract from date/time/timestamp arrays.
Traitsยง
- Chrono
Date ๐Ext - Extract
Date ๐Part Ext - Implement the specialized functions for extracting date part from temporal arrays.
Functionsยง
- date_
part - Given an array, return a new array with the extracted
DatePartas signed 32-bit integer values. - get_
date_ ๐time_ part_ extract_ fn - Returns function to extract relevant
DatePartfrom types like aNaiveDateTimeorDateTime. - get_tz ๐
- Extract optional [
Tz] from timestamp data types, returning error if called with a non-timestamp type. - subsecond ๐
- Fractional second of
v, counted inunitsper second, rescaled totargetper second. Both scales divide one second evenly, so the conversion is exact when scaling up and truncating when scaling down. - timestamp_
time_ ๐part - Extracts a time-of-day part from a timestamp array without a timezone using
integer arithmetic. Returns
Nonefor parts that require a calendar conversion. - units_
per_ ๐second - Number of ticks in one second for timestamps of type
T.