hodatime-0.2.1.1: A fully featured date/time library based on Nodatime

Safe HaskellSafe
LanguageHaskell2010

Data.HodaTime.OffsetDateTime

Contents

Synopsis

Types

data OffsetDateTime cal Source #

A CalendarDateTime with a UTC offset. This is the format used by e.g. HTTP. This type has a fixed TimeZone with the name "UTC(+/-)offset". If the offset is empty, the name of the TimeZone will be UTC

Constructors

fromInstantWithOffset :: IsCalendarDateTime cal => Instant -> Offset -> OffsetDateTime cal Source #

Create an OffsetDateTime from an Instant and an Offset.

Math

Conversion