This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use chrono::{format::Parsed, DateTime, NaiveDate, NaiveTime, Utc}; | |
| const INVALID: &str = "invalid"; | |
| const TOO_SHORT: &str = "too short"; | |
| struct Numbers { | |
| year: i32, | |
| month: u32, | |
| day: u32, | |
| hour: u32, |