API Reference Interval v0.3.3

modules

Modules

An interval represents the points between two endpoints.

Defines the Interval behaviour. You'll usually want to use this behaviour by using

Represents a discrete interval containing Elixir.Date

Represents a continuous interval containing Elixir.DateTime

Represents a continuous interval containing Elixir.Decimal

Represents a continuous interval containing Elixir.Float

Represents a discrete interval containing Elixir.Integer

Implementing this protocol allows Interval to infer the implementation to use for a value, which allows you to pass the values to Interval.new/1 without specifying a module option

Implements support for auto-implementing Ecto.Type.