CandleClock.next_expiry
You're seeing just the function
next_expiry
, go back to CandleClock module for more information.
Specs
next_expiry(struct(), DateTime.t()) :: {:ok, DateTime.t()} | {:error, any()}
Calculates the next expiry date for the given timer from the given date onwards.
Returns {:ok, datetime}
or an error-tuple