kairos-core-0.1: A utility program for converting between timezones.
Safe HaskellNone
LanguageHaskell2010

Kairos.Internal

Description

Internal module.

Since: 0.1

Synopsis

TZ Database Labels

tzNameToTZLabel :: Text -> Maybe TZLabel Source #

Looks up a tz database label by name. Case-insensitive.

Since: 0.1

tzLowerNameLabelMap :: Map Text TZLabel Source #

Like tz's tzNameLabelMap but with lower-case Text keys instead of ByteString for case-insensitive lookup.

Since: 0.1

tzLowerNameLabelMapWith :: OnDecodeError -> Map Text TZLabel Source #

tzLowerNameLabelMapOnError with custom decoder, since we need to convert ByteString -> Text.

Since: 0.1