pub trait Format { // Required method fn format(&self, format: &str) -> Result<String, DateError>; }
A trait for objects that can be formatted
Format this object using the given format string