Trait icu_datetime::neo_marker::DateInputMarkers

source ·
pub trait DateInputMarkers: Sealed {
    type YearInput: Into<Option<YearInfo>>;
    type MonthInput: Into<Option<MonthInfo>>;
    type DayOfMonthInput: Into<Option<DayOfMonth>>;
    type DayOfWeekInput: Into<Option<IsoWeekday>>;
    type DayOfYearInput: Into<Option<DayOfYearInfo>>;
    type AnyCalendarKindInput: Into<Option<AnyCalendarKind>>;
}
Expand description

A trait associating types for date formatting in any calendar (input types only).

Required Associated Types§

source

type YearInput: Into<Option<YearInfo>>

Marker for resolving the year input field.

source

type MonthInput: Into<Option<MonthInfo>>

Marker for resolving the month input field.

source

type DayOfMonthInput: Into<Option<DayOfMonth>>

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

source

type DayOfWeekInput: Into<Option<IsoWeekday>>

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

source

type DayOfYearInput: Into<Option<DayOfYearInfo>>

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

source

type AnyCalendarKindInput: Into<Option<AnyCalendarKind>>

Marker for resolving the any-calendar-kind input field.

Implementors§

source§

impl DateInputMarkers for NeoDateComponents

§

type YearInput = YearInfo

§

type MonthInput = MonthInfo

§

type DayOfMonthInput = DayOfMonth

§

type DayOfWeekInput = IsoWeekday

§

type DayOfYearInput = DayOfYearInfo

§

type AnyCalendarKindInput = AnyCalendarKind

source§

impl DateInputMarkers for NeoAutoDateMarker

§

type YearInput = YearInfo

§

type MonthInput = MonthInfo

§

type DayOfMonthInput = DayOfMonth

§

type DayOfWeekInput = IsoWeekday

§

type DayOfYearInput = NeverField

§

type AnyCalendarKindInput = AnyCalendarKind

source§

impl DateInputMarkers for NeoEraYearMonthDayMarker

§

type YearInput = YearInfo

§

type MonthInput = MonthInfo

§

type DayOfMonthInput = DayOfMonth

§

type DayOfWeekInput = NeverField

§

type DayOfYearInput = NeverField

§

type AnyCalendarKindInput = AnyCalendarKind

source§

impl DateInputMarkers for NeoNeverMarker

source§

impl DateInputMarkers for NeoYearMonthDayMarker

§

type YearInput = YearInfo

§

type MonthInput = MonthInfo

§

type DayOfMonthInput = DayOfMonth

§

type DayOfWeekInput = NeverField

§

type DayOfYearInput = NeverField

§

type AnyCalendarKindInput = AnyCalendarKind

source§

impl DateInputMarkers for NeoYearMonthMarker