# Periods v0.2.0 - Table of Contents

> Helper for converting and performing math operations on values of Time, Date, DateTime, and NaiveDateTime along with storing in database with Ecto.Type

## Pages

- [Periods](readme.md)
- [Changelog](changelog.md)

## Modules

- [Periods](Periods.md): Periods increments of time.
- [Periods.Ecto.MapType](Periods.Ecto.MapType.md): Provides a type for Ecto to store a Period of time.
The underlying data type should be a map(JSON).
Suitable for databases that do not support composite types,
but support JSON (e.g. MySQL and versions of CockroachDB).
- [Periods.Errors](Periods.Errors.md)
- [Periods.Period](Periods.Period.md): A struct representing an increment of time as an integer `amount` of a `unit`.

- Exceptions
  - [Periods.Computation.ComputationError](Periods.Computation.ComputationError.md)
  - [Periods.Conversion.ConversionError](Periods.Conversion.ConversionError.md)
  - [Periods.Parser.ParserError](Periods.Parser.ParserError.md)

