Module arrow_arith::temporal
source · Expand description
Defines temporal kernels for time and date related functions.
Enums§
- Valid parts to extract from date/time/timestamp arrays.
Functions§
- Given an array, return a new array with the extracted
DatePart
as signed 32-bit integer values. - dayDeprecatedExtracts the day of a given temporal primitive array as an array of integers
- day_dynDeprecatedExtracts the day of a given temporal array as an array of integers. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - doyDeprecatedExtracts the day of year of a given temporal primitive array as an array of integers The day of year that ranges from 1 to 366
- doy_dynDeprecatedExtracts the day of year of a given temporal array as an array of integers The day of year that ranges from 1 to 366. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - hourDeprecatedExtracts the hours of a given temporal primitive array as an array of integers within the range of [0, 23].
- hour_dynDeprecatedExtracts the hours of a given array as an array of integers within the range of [0, 23]. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - microsecondDeprecatedExtracts the microseconds of a given temporal primitive array as an array of integers
- microsecond_dynDeprecatedExtracts the microseconds of a given temporal primitive array as an array of integers. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - millisecondDeprecatedExtracts the milliseconds of a given temporal primitive array as an array of integers
- millisecond_dynDeprecatedExtracts the milliseconds of a given temporal primitive array as an array of integers. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - minuteDeprecatedExtracts the minutes of a given temporal primitive array as an array of integers
- minute_dynDeprecatedExtracts the minutes of a given temporal array as an array of integers. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - monthDeprecatedExtracts the month of a given temporal primitive array as an array of integers within the range of [1, 12].
- month_dynDeprecatedExtracts the month of a given temporal array as an array of integers. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - nanosecondDeprecatedExtracts the nanoseconds of a given temporal primitive array as an array of integers
- nanosecond_dynDeprecatedExtracts the nanoseconds of a given temporal primitive array as an array of integers. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - num_days_from_mondayDeprecatedExtracts the day of week of a given temporal primitive array as an array of integers.
- num_days_from_monday_dynDeprecatedExtracts the day of week of a given temporal array as an array of integers.
- num_days_from_sundayDeprecatedExtracts the day of week of a given temporal primitive array as an array of integers, starting at Sunday.
- num_days_from_sunday_dynDeprecatedExtracts the day of week of a given temporal array as an array of integers, starting at Sunday.
- quarterDeprecatedExtracts the quarter of a given temporal primitive array as an array of integers within the range of [1, 4].
- quarter_dynDeprecatedExtracts the quarter of a given temporal array as an array of integersa within the range of [1, 4]. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - secondDeprecatedExtracts the seconds of a given temporal primitive array as an array of integers
- second_dynDeprecatedExtracts the seconds of a given temporal array as an array of integers. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - using_chrono_tz_and_utc_naive_date_timeDeprecatedParse the given string into a string representing fixed-offset that is correct as of the given UTC NaiveDateTime. Note that the offset is function of time and can vary depending on whether daylight savings is in effect or not. e.g. Australia/Sydney is +10:00 or +11:00 depending on DST.
- weekDeprecatedExtracts the week of a given temporal primitive array as an array of integers
- week_dynDeprecatedExtracts the week of a given temporal array as an array of integers. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned. - yearDeprecatedExtracts the years of a given temporal primitive array as an array of integers
- year_dynDeprecatedExtracts the years of a given temporal array as an array of integers. If the given array isn’t temporal primitive or dictionary array, an
Err
will be returned.