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