TzWord v0.5.0 TzWorld.Backend behaviour View Source
Defines the callbacks for the TzWorld.Backend behaviour
Link to this section Summary
Callbacks
Returns all timezones at a specified point
Reloads the (potentially updated) timezone data
Returns the time zone at a specified point
Link to this section Types
A point
Latitude in degrees
Longitude in degrees
Link to this section Callbacks
Link to this callback
all_timezones_at(arg1)
View Sourceall_timezones_at(Geo.Point.t()) :: {:ok, [String.t()]} | {:error, atom()}
Returns all timezones at a specified point
Reloads the (potentially updated) timezone data
Returns the time zone at a specified point