lib/fiscal_year.rb
# Returns an array of starting dates for each quarter based on this Time object instance, and the passed offset_month
Returns an array of starting dates for each quarter based on this Time object instance, and the passed offset_month
Returns an array of starting dates for each quarter based on this Time object instance and the passed offset_month
def to_fiscal_quarters(offset_month=1)
    first_quarter = beginning_of_fiscal_year(offset_month)
    second_quarter = first_quarter+3.months
    third_quarter = second_quarter+3.months
    fourth_quarter = third_quarter+3.months
    [first_quarter, second_quarter, third_quarter, fourth_quarter]
  end
def to_fiscal_quarters ( offset_month = 1 ) first_quarter = beginning_of_fiscal_year ( offset_month ) second_quarter = first_quarter + 3 . months third_quarter = second_quarter + 3 . months fourth_quarter = third_quarter + 3 . months [ first_quarter , second_quarter , third_quarter , fourth_quarter ] end
Returns an array of starting dates for each quarter based on this Time object instance, and the passed offset_month
Returns an array of starting dates for each quarter based on this Time object instance and the passed offset_month
offset_month
<not_specific>