Trait icu_datetime::scaffold::DateInputMarkers
source · pub trait DateInputMarkers: UnstableSealed {
type YearInput: IntoOption<YearInfo>;
type MonthInput: IntoOption<MonthInfo>;
type DayOfMonthInput: IntoOption<DayOfMonth>;
type DayOfYearInput: IntoOption<DayOfYearInfo>;
type DayOfWeekInput: IntoOption<IsoWeekday>;
}
Expand description
A trait associating types for date formatting in any calendar (input types only).
This is a sealed trait implemented on field set markers.
Required Associated Types§
sourcetype YearInput: IntoOption<YearInfo>
type YearInput: IntoOption<YearInfo>
Marker for resolving the year input field.
sourcetype MonthInput: IntoOption<MonthInfo>
type MonthInput: IntoOption<MonthInfo>
Marker for resolving the month input field.
sourcetype DayOfMonthInput: IntoOption<DayOfMonth>
type DayOfMonthInput: IntoOption<DayOfMonth>
Marker for resolving the day-of-month input field.
sourcetype DayOfYearInput: IntoOption<DayOfYearInfo>
type DayOfYearInput: IntoOption<DayOfYearInfo>
Marker for resolving the day-of-year input field.
sourcetype DayOfWeekInput: IntoOption<IsoWeekday>
type DayOfWeekInput: IntoOption<IsoWeekday>
Marker for resolving the day-of-week input field.