pub type DateResult<T> = Result<T, DateError>;
enum DateResult<T> { Ok(T), Err(DateError), }
Contains the success value
Contains the error value