timex v0.13.3

Modules summary

Timex
Timex.Date

Module for working with dates

Timex.DateFormat

Date formatting and parsing

Timex.DateFormat.Formats

This module defines all known (by timex) common date/time formats, in macro form

Timex.DateFormat.Formatters.DefaultFormatter

Date formatting language used by default by the DateFormat module

Timex.DateFormat.Formatters.Formatter
Timex.DateFormat.Formatters.StrftimeFormatter

Date formatting language defined by the strftime function from the Standard C Library

Timex.DateTime
Timex.Parsers.DateFormat.DefaultParser

This module is responsible for parsing date strings using the default timex formatting syntax

Timex.Parsers.DateFormat.Directive

This module defines parsing directives for all date/time tokens timex knows about. It is composed of a Directive struct, containing the rules for parsing a given token, and a get/1 function, which fetches a directive for a given token value, i.e. :year4

Timex.Parsers.DateFormat.Parser

This is the base plugin behavior for all Timex date/time string parsers

Timex.Parsers.DateFormat.ParserState
Timex.Parsers.DateFormat.StrftimeParser

This module is responsible for parsing date strings using the strftime formatting syntax

Timex.Parsers.DateFormat.Tokenizers.Default

Responsible for tokenizing date/time format strings which use the Default formatter

Timex.Parsers.DateFormat.Tokenizers.Strftime

Responsible for tokenizing date/time format strings which use the strftime formatter

Timex.Parsers.ZoneInfo

This module is responsible for parsing binary zoneinfo files, such as those found in /usr/local/zoneinfo

Timex.Parsers.ZoneInfo.Zone

Represents the data retreived from a binary tzfile. For details on the tzfile format, see:

Timex.Time
Timex.TimeFormatter
Timex.Timezone

Contains all the logic around conversion, manipulation, and comparison of time zones

Timex.Timezone.Database

This module provides access to the database of timezones

Timex.Timezone.Dst

Rules for determining if a datetime falls within a daylight savings period

Timex.Timezone.Local

Contains the logic and parser for extracting local timezone configuration

Timex.TimezoneInfo

Complete definition of a time zone, including all name variations, offsets, and daylight savings time rules if they apply

Exceptions summary

Timex.DateFormat.FormatError

Used for errors encountered during date formatting

Timex.Parsers.ParseError

Used for errors encountered during date parsing

Protocols summary

Timex.Date.Convert