pub trait TimeMethods {
    fn strftime(&self, fmt: &str) -> Utf8Chunked;
fn hour(&self) -> UInt32Chunked;
fn minute(&self) -> UInt32Chunked;
fn second(&self) -> UInt32Chunked;
fn nanosecond(&self) -> UInt32Chunked;
fn parse_from_str_slice(name: &str, v: &[&str], fmt: &str) -> TimeChunked; }

Required methods

Format Date with a fmt rule. See chrono strftime/strptime.

Extract hour from underlying NaiveDateTime representation. Returns the hour number from 0 to 23.

Extract minute from underlying NaiveDateTime representation. Returns the minute number from 0 to 59.

Extract second from underlying NaiveDateTime representation. Returns the second number from 0 to 59.

Extract second from underlying NaiveDateTime representation. Returns the number of nanoseconds since the whole non-leap second. The range from 1,000,000,000 to 1,999,999,999 represents the leap second.

Implementations on Foreign Types

Format Date with a fmt rule. See chrono strftime/strptime.

Extract hour from underlying NaiveDateTime representation. Returns the hour number from 0 to 23.

Extract minute from underlying NaiveDateTime representation. Returns the minute number from 0 to 59.

Extract second from underlying NaiveDateTime representation. Returns the second number from 0 to 59.

Extract second from underlying NaiveDateTime representation. Returns the number of nanoseconds since the whole non-leap second. The range from 1,000,000,000 to 1,999,999,999 represents the leap second.

Implementors