class Enumdate::DateFrame::Monthly
Monthly
date frame
Private Instance Methods
beginning_of_frame(date)
click to toggle source
# File lib/enumdate/date_frame.rb, line 150 def beginning_of_frame(date) beginning_of_month(date) end
frames_between(date1, date2)
click to toggle source
# File lib/enumdate/date_frame.rb, line 154 def frames_between(date1, date2) months_between(date1, date2) end
next_frame_start(current_frame_date, cycles = 1)
click to toggle source
# File lib/enumdate/date_frame.rb, line 146 def next_frame_start(current_frame_date, cycles = 1) current_frame_date >> (@interval * cycles) end