# File lib/active_support/core_ext/date/calculations.rb, line 212 def end_of_quarter beginning_of_month.change(:month => [3, 6, 9, 12].detect { |m| m >= self.month }).end_of_month end