Returns value as a chrono `NaiveDate` by using `Self::datetime()` If a data type cannot be converted to `NaiveDate`, a `None` is returned See notes on [`PrimitiveArray::value`] regarding nulls and panics
(&self, i: usize)
| 1299 | /// |
| 1300 | /// See notes on [`PrimitiveArray::value`] regarding nulls and panics |
| 1301 | pub fn value_as_date(&self, i: usize) -> Option<NaiveDate> { |
| 1302 | self.value_as_datetime(i).map(|datetime| datetime.date()) |
| 1303 | } |
| 1304 | |
| 1305 | /// Returns a value as a chrono `NaiveTime` |
| 1306 | /// |
nothing calls this directly
no test coverage detected