Struct arrow_array::types::Date64Type
source · pub struct Date64Type {}
Expand description
A 64-bit date type representing the elapsed time since UNIX epoch in days(32 bits).
Implementations§
source§impl Date64Type
impl Date64Type
sourcepub fn to_naive_date(i: <Date64Type as ArrowPrimitiveType>::Native) -> NaiveDate
pub fn to_naive_date(i: <Date64Type as ArrowPrimitiveType>::Native) -> NaiveDate
sourcepub fn from_naive_date(
d: NaiveDate
) -> <Date64Type as ArrowPrimitiveType>::Native
pub fn from_naive_date(
d: NaiveDate
) -> <Date64Type as ArrowPrimitiveType>::Native
sourcepub fn add_year_months(
date: <Date64Type as ArrowPrimitiveType>::Native,
delta: <IntervalYearMonthType as ArrowPrimitiveType>::Native
) -> <Date64Type as ArrowPrimitiveType>::Native
pub fn add_year_months(
date: <Date64Type as ArrowPrimitiveType>::Native,
delta: <IntervalYearMonthType as ArrowPrimitiveType>::Native
) -> <Date64Type as ArrowPrimitiveType>::Native
Adds the given IntervalYearMonthType to an arrow Date64Type
Arguments
date
- The date on which to perform the operationdelta
- The interval to add
sourcepub fn add_day_time(
date: <Date64Type as ArrowPrimitiveType>::Native,
delta: <IntervalDayTimeType as ArrowPrimitiveType>::Native
) -> <Date64Type as ArrowPrimitiveType>::Native
pub fn add_day_time(
date: <Date64Type as ArrowPrimitiveType>::Native,
delta: <IntervalDayTimeType as ArrowPrimitiveType>::Native
) -> <Date64Type as ArrowPrimitiveType>::Native
Adds the given IntervalDayTimeType to an arrow Date64Type
Arguments
date
- The date on which to perform the operationdelta
- The interval to add
sourcepub fn add_month_day_nano(
date: <Date64Type as ArrowPrimitiveType>::Native,
delta: <IntervalMonthDayNanoType as ArrowPrimitiveType>::Native
) -> <Date64Type as ArrowPrimitiveType>::Native
pub fn add_month_day_nano(
date: <Date64Type as ArrowPrimitiveType>::Native,
delta: <IntervalMonthDayNanoType as ArrowPrimitiveType>::Native
) -> <Date64Type as ArrowPrimitiveType>::Native
Adds the given IntervalMonthDayNanoType to an arrow Date64Type
Arguments
date
- The date on which to perform the operationdelta
- The interval to add