diff --git a/arrow-arith/src/temporal.rs b/arrow-arith/src/temporal.rs index 7af743018c39..a3fe7e8ad4a4 100644 --- a/arrow-arith/src/temporal.rs +++ b/arrow-arith/src/temporal.rs @@ -658,12 +658,6 @@ pub(crate) use return_compute_error_with; // Internal trait, which is used for mapping values from DateLike structures trait ChronoDateExt { - /// Returns a value in range `1..=4` indicating the quarter this date falls into - fn quarter(&self) -> u32; - - /// Returns a value in range `0..=3` indicating the quarter (zero-based) this date falls into - fn quarter0(&self) -> u32; - /// Returns the day of week; Monday is encoded as `0`, Tuesday as `1`, etc. fn num_days_from_monday(&self) -> i32; @@ -672,14 +666,6 @@ trait ChronoDateExt { } impl ChronoDateExt for T { - fn quarter(&self) -> u32 { - self.quarter0() + 1 - } - - fn quarter0(&self) -> u32 { - self.month0() / 3 - } - fn num_days_from_monday(&self) -> i32 { self.weekday().num_days_from_monday() as i32 }