infinite_times v0.0.1 InfiniteTimes.InfDate

Date type supporting infinity

Link to this section Summary

Link to this section Types

Link to this type t()
t() ::
  %InfiniteTimes.InfDate{
    date: %Date{calendar: term(), day: term(), month: term(), year: term()},
    finitness: :finite
  }
  | %InfiniteTimes.InfDate{date: nil, finitness: :infinity | :neg_infinity}

Link to this section Functions

Link to this function compare(arg1, arg2)
compare(t(), t()) :: :lt | :eq | :gt
Link to this function from_erl(erl_date)
Link to this function is?(op, left, right)
is?(:lt | :lte | :eq | :gte | :gt, t(), t()) :: boolean()
Link to this function new(date)
new(atom()) :: t()