lib/fiscal_year.rb
# The first day of the current fiscal quarter of this Time object instance, based on the passed offset_month
The first day of the current fiscal quarter of this Time object instance, based on the passed offset_month
The first day of the current fiscal quarter of this Time object instance based on the passed offset_month
def beginning_of_fiscal_quarter(offset_month=1)
    t = beginning_of_fiscal_year(offset_month)
    return t if self.month == offset_month
    4.times do
      return t if self >= t && self <= (t+2.months).end_of_month
      t = t+3.months
    end
  end
def beginning_of_fiscal_quarter ( offset_month = 1 ) t = beginning_of_fiscal_year ( offset_month ) return t if self . month == offset_month 4 . times do return t if self >= t && self <= ( t + 2 . months ) . end_of_month t = t + 3 . months end end
The first day of the current fiscal quarter of this Time object instance, based on the passed offset_month
The first day of the current fiscal quarter of this Time object instance based on the passed offset_month
offset_month
<not_specific>