# Ecto DateTimeRange v2.0.2 - Table of Contents

Ecto type for PostgreSQL's tstzrange

## Guides

- [Overview](overview.md)
- [Migrations](migrations.md)
- [Form Data](forms.md)
- [Change Log](changelog.md)
- [LICENSE](license.md)

## Modules

- [Ecto.DateTimeRange](Ecto.DateTimeRange.md): `Ecto.DateTimeRange` provides modules implementing `Ecto.Type` to allow
usage of Postgres range times encoding timestamp ranges.

- Types
  - [Ecto.DateTimeRange.NaiveDateTime](Ecto.DateTimeRange.NaiveDateTime.md): An `Ecto.Type` wrapping a `:tsrange` Postgres column. To the application, it appears as
a struct with `:start_at` and `:end_at`, with `:naive_datetime` values.
  - [Ecto.DateTimeRange.Time](Ecto.DateTimeRange.Time.md): An `Ecto.Type` wrapping a `:tsrange` Postgres column. To the application, it appears as
a struct with `:start_at` and `:end_at`, with `t:Time.t()` values.
  - [Ecto.DateTimeRange.UTCDateTime](Ecto.DateTimeRange.UTCDateTime.md): An `Ecto.Type` wrapping a `:tstzrange` Postgres column. To the application, it appears as
a struct with `:start_at` and `:end_at`, with `:utc_datetime` values.

- Query
  - [Ecto.DateTimeRange.Operators](Ecto.DateTimeRange.Operators.md): Provides operators for querying against ranges in PostgreSQL.

