Searched refs:Datelike (Results 1 – 13 of 13) sorted by relevance
/external/rust/crates/plotters/src/coord/ranged1d/types/ |
D | datetime.rs | 2 use chrono::{Date, DateTime, Datelike, Duration, NaiveDate, NaiveDateTime, TimeZone, Timelike}; 13 type DateType: Datelike + PartialOrd; 159 pub struct RangedDate<D: Datelike>(D, D); 161 impl<D: Datelike> From<Range<D>> for RangedDate<D> { 169 D: Datelike + TimeValue + Sub<D, Output = Duration> + Add<Duration, Output = D> + Clone, 215 D: Datelike + TimeValue + Sub<D, Output = Duration> + Add<Duration, Output = D> + Clone, 252 impl<T: TimeValue + Datelike + Clone> ValueFormatter<T> for Monthly<T> { 472 impl<T: TimeValue + Datelike + Clone> ValueFormatter<T> for Yearly<T> { 581 pub struct RangedDateTime<DT: Datelike + Timelike + TimeValue>(DT, DT); 602 DT: Datelike + Timelike + TimeValue + Clone + PartialOrd,
|
/external/rust/crates/chrono/src/offset/ |
D | local.rs | 16 use {Datelike, Timelike}; 200 use Datelike;
|
/external/rust/crates/chrono/src/naive/ |
D | isoweek.rs | 146 use Datelike;
|
D | datetime.rs | 21 use {Datelike, Timelike, Weekday}; 702 impl Datelike for NaiveDateTime { 2252 use Datelike;
|
D | date.rs | 19 use {Datelike, Weekday}; 1102 impl Datelike for NaiveDate { 1895 use {Datelike, Weekday};
|
/external/rust/crates/chrono/benches/ |
D | chrono.rs | 84 fn num_days_from_ce_alt<Date: Datelike>(date: &Date) -> i32 { in num_days_from_ce_alt()
|
/external/rust/crates/chrono/src/ |
D | date.rs | 20 use {Datelike, Weekday}; 336 impl<Tz: TimeZone> Datelike for Date<Tz> {
|
D | lib.rs | 520 pub use {Datelike, Month, Timelike, Weekday}; 1245 pub trait Datelike: Sized { interface 1506 fn num_days_from_ce<Date: Datelike>(date: &Date) -> i32 { in test_num_days_from_ce_against_alternative_impl()
|
D | datetime.rs | 31 use {Datelike, Timelike, Weekday}; 535 impl<Tz: TimeZone> Datelike for DateTime<Tz> { 2180 use Datelike;
|
/external/rust/crates/chrono/ |
D | CHANGELOG.md | 306 - `Datelike::isoweekdate` is replaced by `Datelike::iso_week` which only returns the ISO week. 309 but this duplicated the `Datelike::weekday` method and it had been hard to deal with 533 - Forbade unsized types from implementing `Datelike` and `Timelike`.
|
D | README.md | 181 Most of them are defined in the traits [`Datelike`](https://docs.rs/chrono/0.4/chrono/trait.Datelik…
|
/external/rust/crates/chrono/src/format/ |
D | parsed.rs | 16 use {Datelike, Timelike}; 726 use Datelike;
|
D | mod.rs | 36 use {Datelike, Timelike};
|