View Source Luminous.TimeRange (luminous v0.1.0)
Link to this section Summary
Link to this section Types
@type t() :: %Luminous.TimeRange{from: DateTime.t(), to: DateTime.t()}
Link to this section Functions
@spec add(DateTime.t(), integer(), atom()) :: DateTime.t()
@spec from_unix(non_neg_integer(), non_neg_integer()) :: t()
@spec last_n_days(non_neg_integer(), binary()) :: t()
@spec new(DateTime.t(), DateTime.t()) :: t()
@spec next_n_days(non_neg_integer(), binary()) :: t()
@spec round(DateTime.t(), atom()) :: DateTime.t()