class Pagy::Calendar

def offset_units_for(page)

Used in starting_time_for(page) with a logic equivalent to: @initial + (offset_units_for(page) * unit_time_length)
Number of units to offset from the @initial time, in order to get the ordered starting time for the page.
def offset_units_for(page)
  @order == :asc ? page - 1 : @pages - page
end