Z-Data-0.6.1.0: Array, vector and text
Copyright(c) 2015-2016 Bryan O'Sullivan
(c) 2020 Dong Han
LicenseBSD3
MaintainerDong <winterland1989@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Z.Data.Builder.Time

Description

Builders for dates and times.

Synopsis

Documentation

day :: Day -> Builder () Source #

YYYY-mm-dd.

timeOfDay :: TimeOfDay -> Builder () Source #

HH-MM-SS.

timeZone :: TimeZone -> Builder () Source #

Timezone format in +HH:MM, with single letter Z for +00:00.

utcTime :: UTCTime -> Builder () Source #

Write UTCTime in ISO8061 YYYY-MM-DDTHH:MM:SS.SSSZ(time zone will always be Z).

localTime :: LocalTime -> Builder () Source #

Write LocalTime in ISO8061 YYYY-MM-DDTHH:MM:SS.SSS.

zonedTime :: ZonedTime -> Builder () Source #

Write ZonedTime in ISO8061 YYYY-MM-DD HH:MM:SS.SSSZ.