Struct carbon::DateTime
[-] [+]
[src]
pub struct DateTime { // some fields omitted }
pub struct DateTime { // some fields omitted }
impl DateTime
fn now() -> DateTime
fn create_from_tm(tm: Tm) -> DateTime
fn set_test_now(test_now: Option<DateTime>)
fn get_test_now() -> Option<DateTime>
fn start_of(&self) -> Start
fn end_of(&self) -> End
fn is_leap_year(&self) -> bool
impl Clone for DateTime
fn clone(&self) -> DateTime
fn clone_from(&mut self, source: &Self)
impl Debug for DateTime
impl Eq for DateTime
impl PartialEq for DateTime
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).