Home
last modified time | relevance | path

Searched refs:Datelike (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/plotters/src/coord/ranged1d/types/
Ddatetime.rs2 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/
Dlocal.rs16 use {Datelike, Timelike};
200 use Datelike;
/external/rust/crates/chrono/src/naive/
Disoweek.rs146 use Datelike;
Ddatetime.rs21 use {Datelike, Timelike, Weekday};
702 impl Datelike for NaiveDateTime {
2252 use Datelike;
Ddate.rs19 use {Datelike, Weekday};
1102 impl Datelike for NaiveDate {
1895 use {Datelike, Weekday};
/external/rust/crates/chrono/benches/
Dchrono.rs84 fn num_days_from_ce_alt<Date: Datelike>(date: &Date) -> i32 { in num_days_from_ce_alt()
/external/rust/crates/chrono/src/
Ddate.rs20 use {Datelike, Weekday};
336 impl<Tz: TimeZone> Datelike for Date<Tz> {
Dlib.rs520 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()
Ddatetime.rs31 use {Datelike, Timelike, Weekday};
535 impl<Tz: TimeZone> Datelike for DateTime<Tz> {
2180 use Datelike;
/external/rust/crates/chrono/
DCHANGELOG.md306 - `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`.
DREADME.md181 Most of them are defined in the traits [`Datelike`](https://docs.rs/chrono/0.4/chrono/trait.Datelik…
/external/rust/crates/chrono/src/format/
Dparsed.rs16 use {Datelike, Timelike};
726 use Datelike;
Dmod.rs36 use {Datelike, Timelike};