Timex.Timezone.Database

This module provides access to the database of timezones.

Summary

olson_to_win(tz)

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

to_olson(tz)

Lookup the Olson time zone given it’s standard name

Functions

olson_to_win(tz)

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(tz)

Lookup the Olson time zone given it’s standard name

Example

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