Timex.Timezone.Database

This module is not really intended for use outside of Timex, but it provides a way to map Olson timezone names to Windows timezone names, and vice versa.

Summary

Functions

Lookup the Windows time zone name given an Olson time zone name

Lookup the Olson time zone given its standard name

Functions

olson_to_win(arg1)

Lookup the Windows time zone name given an Olson time zone name.

Example

iex> Timex.Timezone.Database.olson_to_win("Pacific/Noumea")
"Central Pacific Standard Time"
to_olson(arg1)

Lookup the Olson time zone given its standard name

Example

iex> Timex.Timezone.Database.to_olson("Azores Standard Time")
"Atlantic/Azores"