File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -93,4 +93,4 @@ arrow-select = { version = "54.2.0", path = "./arrow-select" }
9393arrow-string = { version = " 54.2.0" , path = " ./arrow-string" }
9494parquet = { version = " 54.2.0" , path = " ./parquet" , default-features = false }
9595
96- chrono = { version = " 0.4.34 " , default-features = false , features = [" clock" ] }
96+ chrono = { version = " 0.4.40 " , default-features = false , features = [" clock" ] }
Original file line number Diff line number Diff line change @@ -634,12 +634,6 @@ pub(crate) use return_compute_error_with;
634634
635635// Internal trait, which is used for mapping values from DateLike structures
636636trait ChronoDateExt {
637- /// Returns a value in range `1..=4` indicating the quarter this date falls into
638- fn quarter ( & self ) -> u32 ;
639-
640- /// Returns a value in range `0..=3` indicating the quarter (zero-based) this date falls into
641- fn quarter0 ( & self ) -> u32 ;
642-
643637 /// Returns the day of week; Monday is encoded as `0`, Tuesday as `1`, etc.
644638 fn num_days_from_monday ( & self ) -> i32 ;
645639
@@ -648,14 +642,6 @@ trait ChronoDateExt {
648642}
649643
650644impl < T : Datelike > ChronoDateExt for T {
651- fn quarter ( & self ) -> u32 {
652- self . quarter0 ( ) + 1
653- }
654-
655- fn quarter0 ( & self ) -> u32 {
656- self . month0 ( ) / 3
657- }
658-
659645 fn num_days_from_monday ( & self ) -> i32 {
660646 self . weekday ( ) . num_days_from_monday ( ) as i32
661647 }
You can’t perform that action at this time.
0 commit comments