lib/merch_calendar/util.rb in merch_calendar-0.0.3 vs lib/merch_calendar/util.rb in merch_calendar-0.0.4

- old
+ new

@@ -85,9 +85,19 @@ def weeks_in_year(year) date_calc.weeks_in_year(year) end + # An array of merch dates in start_date to end_date + # + # @param start_date [Date] the start date + # @param end_date [Date] the end date + # + # @return [Array<Date>] array of merch months + def merch_months_in(start_date, end_date) + date_calc.merch_months_in(start_date, end_date) + end + # Converts a merch month to the correct julian month # # @param month [Fixnum] the merch month to convert # @return [Fixnum] the julian month