# File lib/active_support/core_ext/date/calculations.rb, line 206
        def beginning_of_quarter
          beginning_of_month.change(:month => [10, 7, 4, 1].detect { |m| m <= self.month })
        end