pub fn as_quarters(&self, inc_part: bool) -> i32 {
        self.as_months(inc_part) / 3
            + if inc_part && (self.as_months(inc_part) % 3 > 0) {
                1
            } else {
                0
            }
    }
/// Return the number of quarters that can fit in the `DateRange`.
/// If inc_part is false, part quarters will be discarded e.g. 145 days -> 1 quarter.
/// If inc_part is true, part quarters will count as an extra period e.g. 145 days -> 2 quarters.
Return the number of quarters that can fit in the `DateRange`.
If inc_part is false, part quarters will be discarded e.g.
Return the number of quarters that can fit in the ` DateRange ` . If inc_part is false part quarters will be discarded e . g .
pub fn as_quarters(&self, inc_part: bool) -> i32 {
        self.as_months(inc_part) / 3
            + if inc_part && (self.as_months(inc_part) % 3 > 0) {
                1
            } else {
                0
            }
    }
pub fn as_quarters ( & self , inc_part : bool ) -> i32 { self . as_months ( inc_part ) / 3 + if inc_part && ( self . as_months ( inc_part ) % 3 > 0 ) { 1 } else { 0 } }
Return the number of quarters that can fit in the `DateRange`.
Return the number of quarters that can fit in the ` DateRange ` .
&self
inc_part
bool
&self
inc_part
bool