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).

Required Associated Types§

source

type YearInput: IntoOption<YearInfo>

Marker for resolving the year input field.

source

type MonthInput: IntoOption<MonthInfo>

Marker for resolving the month input field.

source

type DayOfMonthInput: IntoOption<DayOfMonth>

Marker for resolving the day-of-month input field.

source

type DayOfYearInput: IntoOption<DayOfYearInfo>

Marker for resolving the day-of-year input field.

source

type DayOfWeekInput: IntoOption<IsoWeekday>

Marker for resolving the day-of-week input field.

Implementors§

source§

impl DateInputMarkers for CalendarPeriodFieldSet

source§

impl DateInputMarkers for DateFieldSet

source§

type YearInput = YearInfo

source§

type MonthInput = MonthInfo

source§

type DayOfMonthInput = DayOfMonth

source§

type DayOfYearInput = DayOfYearInfo

source§

type DayOfWeekInput = IsoWeekday

source§

impl DateInputMarkers for NeoNeverMarker

source§

impl DateInputMarkers for D

source§

impl DateInputMarkers for DE

source§

impl DateInputMarkers for DET

source§

impl DateInputMarkers for DT

source§

impl DateInputMarkers for E

source§

impl DateInputMarkers for ET

source§

impl DateInputMarkers for M

source§

impl DateInputMarkers for MD

source§

impl DateInputMarkers for MDE

source§

impl DateInputMarkers for MDET

source§

impl DateInputMarkers for MDT

source§

impl DateInputMarkers for Y

source§

impl DateInputMarkers for YM

source§

impl DateInputMarkers for YMD

source§

impl DateInputMarkers for YMDE

source§

type YearInput = YearInfo

source§

type MonthInput = MonthInfo

source§

type DayOfMonthInput = DayOfMonth

source§

type DayOfYearInput = ()

source§

type DayOfWeekInput = IsoWeekday

source§

impl DateInputMarkers for YMDET

source§

type YearInput = YearInfo

source§

type MonthInput = MonthInfo

source§

type DayOfMonthInput = DayOfMonth

source§

type DayOfYearInput = ()

source§

type DayOfWeekInput = IsoWeekday

source§

impl DateInputMarkers for YMDT