MCPcopy Create free account
hub / github.com/apache/arrow-rs / value_as_time

Method value_as_time

arrow-array/src/array/primitive_array.rs:1310–1312  ·  view source on GitHub ↗

Returns a value as a chrono `NaiveTime` `Date32` and `Date64` return UTC midnight as they do not have time resolution See notes on [`PrimitiveArray::value`] regarding nulls and panics

(&self, i: usize)

Source from the content-addressed store, hash-verified

1308 ///
1309 /// See notes on [`PrimitiveArray::value`] regarding nulls and panics
1310 pub fn value_as_time(&self, i: usize) -> Option<NaiveTime> {
1311 as_time::<T>(i64::from(self.value(i)))
1312 }
1313
1314 /// Returns a value as a chrono `Duration`
1315 ///

Calls 1

valueMethod · 0.45