thyme-0.3.5.1: A faster time library

Safe HaskellNone

Data.Thyme.Format.Aeson

Description

Instances of FromJSON and ToJSON for UTCTime and ZonedTime, along with a newtype wrapper DotNetTime.

Synopsis

Documentation

newtype DotNetTime Source

A newtype wrapper for UTCTime that uses the same non-standard serialization format as Microsoft .NET, whose System.DateTime type is by default serialized to JSON as in the following example:

 /Date(1302547608878)/

The number represents milliseconds since the Unix epoch.

Constructors

DotNetTime