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.
  • dayDeprecated
    Extracts the day of a given temporal primitive array as an array of integers
  • day_dynDeprecated
    Extracts 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.
  • doyDeprecated
    Extracts 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_dynDeprecated
    Extracts 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.
  • hourDeprecated
    Extracts the hours of a given temporal primitive array as an array of integers within the range of [0, 23].
  • hour_dynDeprecated
    Extracts 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.
  • microsecondDeprecated
    Extracts the microseconds of a given temporal primitive array as an array of integers
  • microsecond_dynDeprecated
    Extracts 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.
  • millisecondDeprecated
    Extracts the milliseconds of a given temporal primitive array as an array of integers
  • millisecond_dynDeprecated
    Extracts 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.
  • minuteDeprecated
    Extracts the minutes of a given temporal primitive array as an array of integers
  • minute_dynDeprecated
    Extracts 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.
  • monthDeprecated
    Extracts the month of a given temporal primitive array as an array of integers within the range of [1, 12].
  • month_dynDeprecated
    Extracts 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.
  • nanosecondDeprecated
    Extracts the nanoseconds of a given temporal primitive array as an array of integers
  • nanosecond_dynDeprecated
    Extracts 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.
  • Extracts the day of week of a given temporal primitive array as an array of integers.
  • Extracts the day of week of a given temporal array as an array of integers.
  • Extracts the day of week of a given temporal primitive array as an array of integers, starting at Sunday.
  • Extracts the day of week of a given temporal array as an array of integers, starting at Sunday.
  • quarterDeprecated
    Extracts the quarter of a given temporal primitive array as an array of integers within the range of [1, 4].
  • quarter_dynDeprecated
    Extracts 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.
  • secondDeprecated
    Extracts the seconds of a given temporal primitive array as an array of integers
  • second_dynDeprecated
    Extracts 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.
  • Parse 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.
  • weekDeprecated
    Extracts the week of a given temporal primitive array as an array of integers
  • week_dynDeprecated
    Extracts 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.
  • yearDeprecated
    Extracts the years of a given temporal primitive array as an array of integers
  • year_dynDeprecated
    Extracts 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.