(&self, other: &Box<dyn Value>)
| 36 | } |
| 37 | |
| 38 | fn compare(&self, other: &Box<dyn Value>) -> Option<Ordering> { |
| 39 | if let Some(other_date) = other.as_any().downcast_ref::<DateValue>() { |
| 40 | return self.timestamp.partial_cmp(&other_date.timestamp); |
| 41 | } |
| 42 | None |
| 43 | } |
| 44 | |
| 45 | fn data_type(&self) -> Box<dyn DataType> { |
| 46 | Box::new(DateType) |
nothing calls this directly
no test coverage detected