Struct icu_calendar::DateTime[][src]

pub struct DateTime<A: AsCalendar> {
    pub date: Date<A>,
    pub time: Time,
}
Expand description

A date+time for a given calendar

This can work with wrappers arount [Calendar] types, e.g. Rc<C>, via the AsCalendar trait, much like Date

Fields

date: Date<A>time: Time

Implementations

Construct a new Gregorian datetime from integers

Years are specified as ISO years

Construct a new ISO date from integers

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.