Tempus.add
You're seeing just the function
add
, go back to Tempus module for more information.
Link to this function
add(slots, origin \\ DateTime.utc_now(), amount_to_add, unit \\ :second)
View SourceSpecs
add( slots :: Tempus.Slots.t(), origin :: DateTime.t(), amount_to_add :: integer(), unit :: System.time_unit() ) :: DateTime.t()
Adds an amount of units to the origin, considering slots given.