text-show-instances-3.5: Additional instances for text-show

Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Time

Contents

Description

Monomorphic TextShow functions for data types in the time library.

Since: 2

Synopsis

Documentation

showbDay :: Day -> Builder Source #

Convert a Day into a Builder.

Since: 2

showbDiffTime :: DiffTime -> Builder Source #

Convert a DiffTime into a Builder.

Since: 2

showbUTCTime :: UTCTime -> Builder Source #

Convert a UTCTime into a Builder.

Since: 2

showbTimeZone :: TimeZone -> Builder Source #

Convert a TimeZone into a Builder.

Since: 2

showbTimeOfDay :: TimeOfDay -> Builder Source #

Convert a TimeOfDay into a Builder.

Since: 2

showbLocalTime :: LocalTime -> Builder Source #

Convert a LocalTime into a Builder.

Since: 2

showbZonedTime :: ZonedTime -> Builder Source #

Convert a ZonedTime into a Builder.

Since: 2

showbTimeLocalePrec :: Int -> TimeLocale -> Builder Source #

Convert a TimeLocale to a Builder with the given precedence. This function is available with time-1.5 or later.

Since: 2

Orphan instances

TextShow AbsoluteTime Source # 
TextShow LocalTime Source # 
TextShow ZonedTime Source # 
TextShow TimeOfDay Source # 
TextShow TimeLocale Source # 
TextShow TimeZone Source # 
TextShow UTCTime Source # 
TextShow NominalDiffTime Source # 
TextShow Day Source # 
TextShow DiffTime Source #