Struct kdb::DateTime[][src]

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

Represents a date and time in KDB. Conversions between the Unix Epoch and the KDB Epoch are done automatically.

Note that Timestamp is the preferred datatype for storing high precision temporal data.

Implementations

impl DateTime[src]

pub fn new(dt: f64) -> Self[src]

Creates a DateTime with the supplied value.

Trait Implementations

impl Clone for DateTime[src]

impl Copy for DateTime[src]

impl Debug for DateTime[src]

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

impl From<f64> for DateTime[src]

impl PartialEq<DateTime> for DateTime[src]

impl StructuralPartialEq for DateTime[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.