(&self)
| 435 | } |
| 436 | |
| 437 | pub fn date_string(&self) -> String { |
| 438 | let ts = match self { |
| 439 | Self::None(ts) => ts, |
| 440 | Self::StartYear(ts) => ts, |
| 441 | Self::StartYearMonth(ts) => ts, |
| 442 | }; |
| 443 | ts.display_string("%Y-%m-%d") |
| 444 | } |
| 445 | |
| 446 | pub fn prefix(&self) -> Option<String> { |
| 447 | match self { |
nothing calls this directly
no test coverage detected