Returns value as a chrono `NaiveDateTime`, handling time resolution with the provided tz functionally it is same as `value_as_datetime`, however it adds the passed tz to the to-be-returned NaiveDateTime See notes on [`PrimitiveArray::value`] regarding nulls and panics
(&self, i: usize, tz: Tz)
| 1290 | /// |
| 1291 | /// See notes on [`PrimitiveArray::value`] regarding nulls and panics |
| 1292 | pub fn value_as_datetime_with_tz(&self, i: usize, tz: Tz) -> Option<DateTime<Tz>> { |
| 1293 | as_datetime_with_timezone::<T>(i64::from(self.value(i)), tz) |
| 1294 | } |
| 1295 | |
| 1296 | /// Returns value as a chrono `NaiveDate` by using `Self::datetime()` |
| 1297 | /// |