class MudratProjector::DateDiff::DayCalculator

Public Class Methods

advance(intervals, from: from) click to toggle source
# File lib/mudrat_projector/date_diff.rb, line 49
def self.advance intervals, from: from
  from + intervals.round
end

Public Instance Methods

calculate() click to toggle source
# File lib/mudrat_projector/date_diff.rb, line 45
def calculate
  days_between
end