Struct kdb::Date[][src]

#[repr(transparent)]pub struct Date(_);

Represents the number of days since 1 Jan 2000.

Implementations

impl Date[src]

pub fn new(year: i32, month: i32, day: i32) -> Self[src]

Creates a new date.

pub fn as_raw(&self) -> i32[src]

Returns the date as the number of days since 1 Jan 2000.

Trait Implementations

impl Clone for Date[src]

impl Copy for Date[src]

impl Debug for Date[src]

impl Eq for Date[src]

impl From<Atom<Date>> for Date[src]

impl From<SystemTime> for Date[src]

impl From<i32> for Date[src]

impl PartialEq<Date> for Date[src]

impl StructuralEq for Date[src]

impl StructuralPartialEq for Date[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.