You're seeing just the function next, go back to Cldr.Calendar module for more information.
Link to this function

next(date_or_date_range, date_part, options \\ [])

View Source

Returns the next date or date range for a date period (year, quarter, month, week or day).


  • date_or_date_range is any Date.t or Date.Range.t

  • period is :year, :quarter, :month, :week or :day


When a Date.t is passed, a Date.t is returned. When a Date.Range.t is passed a Date.Range.t is returned.


iex> ~D[2019-01-01], :day

iex> ~D[2019-01-01], :month

iex> ~D[2019-01-01], :quarter

iex> ~D[2019-01-01], :year