pub trait DateTimeFormatProvider {
// Required method
fn get_date_time_format(&self) -> DateTimeFormatInfoRef<'_>;
}Expand description
Something that supplies date and time conventions: a CultureInfo or a
DateTimeFormatInfo (the role of IFormatProvider in the .NET date and
time members).
Required Methods§
Sourcefn get_date_time_format(&self) -> DateTimeFormatInfoRef<'_>
fn get_date_time_format(&self) -> DateTimeFormatInfoRef<'_>
The conventions to format and parse with.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".