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)
| 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 | /// |