duration_array_value

Function duration_array_value 

Source
pub fn duration_array_value(array: &ArrayRef, i: usize) -> Duration
Expand description

Get the [Duration] value at index i of the duration array.

Note: This method does not check for nulls and the value is arbitrary if is_null returns true for the index.

ยงPanics

  1. if index i is out of bounds;
  2. or the array is not duration type.