Trait icu_calendar::AsCalendar[][src]

pub trait AsCalendar {
    type Calendar: Calendar;
    fn as_calendar(&self) -> &Self::Calendar;
}
Expand description

Types that contain a calendar

This allows one to use Date with wrappers around calendars, e.g. reference counted calendars.

Associated Types

The calendar being wrapped

Required methods

Obtain the inner calendar

Implementors