CalendarDateRange
struct · ferroui-controls · v0.5.0
struct CalendarDateRange
Represents a range of dates in a Calendar.
A range is a reference object: handles are Rc<CalendarDateRange> and
compare by identity.
Members
new
fn new(day: DateTime) -> Rc<Self>
Initializes a new instance of the CalendarDateRange class with a
single date: day is the date to be represented by the range.
new_range
fn new_range(start: DateTime, end: DateTime) -> Rc<Self>
Initializes a new instance of the CalendarDateRange class with a
range of dates: start is the start of the range to be represented
and end the end of it.
start
fn start(self: &Self) -> DateTime
Gets the first date in the represented range.
end
fn end(self: &Self) -> DateTime
Gets the last date in the represented range.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyAnyValueClassDefaultsErasedDestructorIntoEitherDebugPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.