[−][src]Struct biblatex::Datetime
Timezone-unaware date and time.
Must specify a year and may specify month, day, and time.
Fields
year: i32
The year.
AD years are counted starting from one and thus represented as exactly
their year (e.g. 2000 AD is 2000
) whereas BC years are counted
starting from zero downwards (e.g. 1000 BC is 999
)
month: Option<u8>
The month (starting at zero).
day: Option<u8>
The day (starting at zero).
time: Option<NaiveTime>
The timezone-unaware time.
Trait Implementations
impl Clone for Datetime
[src]
impl Copy for Datetime
[src]
impl Debug for Datetime
[src]
impl Display for Datetime
[src]
impl Eq for Datetime
[src]
impl PartialEq<Datetime> for Datetime
[src]
impl PartialOrd<Datetime> for Datetime
[src]
pub fn partial_cmp(&self, other: &Datetime) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Datetime
[src]
impl StructuralPartialEq for Datetime
[src]
Auto Trait Implementations
impl RefUnwindSafe for Datetime
[src]
impl Send for Datetime
[src]
impl Sync for Datetime
[src]
impl Unpin for Datetime
[src]
impl UnwindSafe for Datetime
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,