Interval
▼
Project version
v2.0.1
v2.0.1-alpha.2
v2.0.1-alpha.1
v2.0.0
v2.0.0-alpha.2
v2.0.0-alpha.1
v1.0.0
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.0
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Pages
Modules
API Reference
Modules
Readme
Installation
Ecto & Postgres support
Built-in Interval Types
Defining your own interval type
More Examples
Changelog
2.0.1
2.0.1-alpha.2
2.0.1-alpha.1
2.0.0
2.0.0-alpha.2
2.0.0-alpha.1 - 2025-03-10
[1.0.0] - 2025-03-04
[v0.3.4] - 2023-03-01
[v0.3.3] - 2022-11-22
[v0.3.2] - 2022-11-22
[v0.3.1] - 2022-11-21
[v0.3.0] - 2022-11-21
[v0.2.0] - 2022-10-27
[v0.1.3] - 2022-10-12
[v0.1.2] - 2022-10-10
Interval
Sections
Features
Interval Notation
Types of Interval
Discrete vs Continuous intervals
Create an Interval
Normalization
Summary
Types
bound/0
endpoint/1
point/0
strbounds/0
t/0
t/1
Functions
__using__/1
adjacent?/2
adjacent_left_of?/2
adjacent_right_of?/2
compare_bounds/4
contains?/2
contains_point?/2
difference/2
empty?/1
exclusive_left?/1
exclusive_right?/1
format/1
inclusive_left?/1
inclusive_right?/1
intersection/2
left/1
new/1
overlaps?/2
parse/2
parse!/2
partition/2
right/1
strictly_left_of?/2
strictly_right_of?/2
unbounded_left?/1
unbounded_right?/1
union/2
Interval.Behaviour
Summary
Types
new_opt/0
new_opts/0
Callbacks
discrete?/0
new/1
new/3
point_compare/2
point_format/1
point_normalize/1
point_parse/1
point_step/2
Interval.DateInterval
Summary
Types
point/0
t/0
Functions
adjacent?/2
adjacent_left_of?/2
adjacent_right_of?/2
contains?/2
contains_point?/2
difference/2
discrete?/0
embed_as/1
empty?/1
equal?/2
format/1
inclusive_left?/1
inclusive_right?/1
intersection/2
left/1
new/1
new/3
overlaps?/2
parse/1
partition/2
right/1
strictly_left_of?/2
strictly_right_of?/2
unbounded_left?/1
unbounded_right?/1
union/2
Interval.DateTimeInterval
Summary
Types
point/0
t/0
Functions
adjacent?/2
adjacent_left_of?/2
adjacent_right_of?/2
contains?/2
contains_point?/2
difference/2
discrete?/0
embed_as/1
empty?/1
equal?/2
format/1
inclusive_left?/1
inclusive_right?/1
intersection/2
left/1
new/1
new/3
overlaps?/2
parse/1
partition/2
point_step/2
right/1
strictly_left_of?/2
strictly_right_of?/2
unbounded_left?/1
unbounded_right?/1
union/2
Interval.DecimalInterval
Summary
Types
point/0
t/0
Functions
adjacent?/2
adjacent_left_of?/2
adjacent_right_of?/2
contains?/2
contains_point?/2
difference/2
discrete?/0
embed_as/1
empty?/1
equal?/2
format/1
inclusive_left?/1
inclusive_right?/1
intersection/2
left/1
new/1
new/3
overlaps?/2
parse/1
partition/2
point_step/2
right/1
strictly_left_of?/2
strictly_right_of?/2
unbounded_left?/1
unbounded_right?/1
union/2
Interval.FloatInterval
Summary
Types
point/0
t/0
Functions
adjacent?/2
adjacent_left_of?/2
adjacent_right_of?/2
contains?/2
contains_point?/2
difference/2
discrete?/0
embed_as/1
empty?/1
equal?/2
format/1
inclusive_left?/1
inclusive_right?/1
intersection/2
left/1
new/1
new/3
overlaps?/2
parse/1
partition/2
point_step/2
right/1
strictly_left_of?/2
strictly_right_of?/2
unbounded_left?/1
unbounded_right?/1
union/2
Interval.IntegerInterval
Summary
Types
point/0
t/0
Functions
adjacent?/2
adjacent_left_of?/2
adjacent_right_of?/2
contains?/2
contains_point?/2
difference/2
discrete?/0
embed_as/1
empty?/1
equal?/2
format/1
inclusive_left?/1
inclusive_right?/1
intersection/2
left/1
new/1
new/3
overlaps?/2
parse/1
partition/2
right/1
strictly_left_of?/2
strictly_right_of?/2
unbounded_left?/1
unbounded_right?/1
union/2
Interval.Macro
Summary
Functions
define_interval/1
Interval.NaiveDateTimeInterval
Summary
Types
point/0
t/0
Functions
adjacent?/2
adjacent_left_of?/2
adjacent_right_of?/2
contains?/2
contains_point?/2
difference/2
discrete?/0
embed_as/1
empty?/1
equal?/2
format/1
inclusive_left?/1
inclusive_right?/1
intersection/2
left/1
new/1
new/3
overlaps?/2
parse/1
partition/2
right/1
strictly_left_of?/2
strictly_right_of?/2
unbounded_left?/1
unbounded_right?/1
union/2
Interval.Support.EctoType
Sections
Example
Summary
Functions
cast/2
dump/2
from_postgrex_range/2
load/2
supported?/0
to_postgrex_range/2
Interval.Support.Jason
Sections
Example
Summary
Functions
supported?/0
Exceptions
Interval.IntervalOperationError
Interval.IntervalParseError
Search documentation of Interval
Settings
Interval.IntervalOperationError
exception
(Interval v2.0.1)
View Source