Idris2Doc : IotaTime.Tzdb.Provider

IotaTime.Tzdb.Provider

(source)

Definitions

recordTimeZoneProviderRep : Type
  Platform-specific time-zone discovery behind one shared contract.

Totality: total
Visibility: export
Constructor: 
MkTimeZoneProvider : IO (EitherTzdbErrorTimeZone) -> (String->IO (EitherTzdbErrorTimeZone)) ->IO (EitherTzdbErrorTimeZone) ->IO (EitherTzdbError (ListString)) ->IO (EitherTzdbErrorTzdbMetadata) ->TimeZoneProviderRep

Projections:
.providerAvailableZones : TimeZoneProviderRep->IO (EitherTzdbError (ListString))
.providerLocalZone : TimeZoneProviderRep->IO (EitherTzdbErrorTimeZone)
.providerMetadata : TimeZoneProviderRep->IO (EitherTzdbErrorTzdbMetadata)
.providerTimeZone : TimeZoneProviderRep->String->IO (EitherTzdbErrorTimeZone)
.providerUtc : TimeZoneProviderRep->IO (EitherTzdbErrorTimeZone)
timeZoneProvider : IO (EitherTzdbErrorTimeZone) -> (String->IO (EitherTzdbErrorTimeZone)) ->IO (EitherTzdbErrorTimeZone) ->IO (EitherTzdbError (ListString)) ->IO (EitherTzdbErrorTzdbMetadata) ->TimeZoneProviderRep
Totality: total
Visibility: export
runProviderUtc : TimeZoneProviderRep->IO (EitherTzdbErrorTimeZone)
Totality: total
Visibility: export
runProviderTimeZone : TimeZoneProviderRep->String->IO (EitherTzdbErrorTimeZone)
Totality: total
Visibility: export
runProviderLocalZone : TimeZoneProviderRep->IO (EitherTzdbErrorTimeZone)
Totality: total
Visibility: export
runProviderAvailableZones : TimeZoneProviderRep->IO (EitherTzdbError (ListString))
Totality: total
Visibility: export
runProviderMetadata : TimeZoneProviderRep->IO (EitherTzdbErrorTzdbMetadata)
Totality: total
Visibility: export
recordTimeZoneCachePolicyRep : Type
  Selects which successful provider queries are retained in memory.
Failures are always retried. Local-zone caching is independent because the
host's local-zone configuration may change while a process is running.

Totality: total
Visibility: export
Constructor: 
MkTimeZoneCachePolicy : Bool->Bool->Bool->Bool->TimeZoneCachePolicyRep

Projections:
.cacheAvailableZones : TimeZoneCachePolicyRep->Bool
.cacheLocalZone : TimeZoneCachePolicyRep->Bool
.cacheMetadata : TimeZoneCachePolicyRep->Bool
.cacheNamedZones : TimeZoneCachePolicyRep->Bool
timeZoneCachePolicy : Bool->Bool->Bool->Bool->TimeZoneCachePolicyRep
Totality: total
Visibility: export
defaultTimeZoneCachePolicy : TimeZoneCachePolicyRep
  Cache named zones, discovery, and metadata while continuing to observe
changes to the host's local-zone configuration.

Totality: total
Visibility: export
cachedTimeZoneProvider : TimeZoneCachePolicyRep->TimeZoneProviderRep->IOTimeZoneProviderRep
  Wrap a provider in caller-owned, opt-in successful-result caches.
Construct a new wrapper to refresh all cached values.

Totality: total
Visibility: export