Calendar v0.13.1 API Reference
Modules
Calendar
AmbiguousDateTime provides a struct which represents an ambiguous time and date in a certain time zone. These structs will be returned from the DateTime.from_erl/2 function when the provided time is ambiguous
The Date module provides a struct to represent a simple date: year, month and day
DateTime provides a struct which represents a certain time and date in a certain time zone
An Interval
consists of a start and an end DateTime
DateTime.TzPeriod is for getting information about timezone periods. A timezone period is an invention for Calendar, which is a period where the offsets are the same for a given time zone. For instance during summer time in London where Daylight Saving Time is in effect. The period would be from the beginning of summer time until the fall where DST is no longer in effect
NaiveDateTime can represents a "naive time". That is a point in time without a specified time zone
A NaiveDateTime.Interval
consists of a start and an end NaiveDateTime
Format different types of time representations as strings
The Time module provides a struct to represent a simple time without specifying a date, nor a time zone