MaterialDateInputFormat
struct · ferroui-themes-material · v0.5.0
struct MaterialDateInputFormat
Native date input always uses two-digit month/day and four-digit year in the culture's order. Eight underlying digits are displayed with two delimiters.
Members
for_culture
fn for_culture(info: &DateTimeFormatInfo) -> Self
pattern
fn pattern(self: &Self) -> String
digits
fn digits(self: &Self, date: DateTime) -> String
format_digits
fn format_digits(self: &Self, digits: &str) -> String
extract_digits
fn extract_digits(self: &Self, text: &str) -> Option<String>
parse_digits
fn parse_digits(self: &Self, digits: &str) -> Option<DateTime>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherEquivalent<K>CastableFrom<ST, Uninit, Uninit>CastableFrom<ST, Initialized, Initialized>Read<Exclusive, BecauseExclusive>CloneDebugStructuralPartialEqPartialEqEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.