henriquecbuss/elm-eos/1.0.0

NOTE: the latest version is 1.1.0

Formerly NeoVier/elm-eos. Search finds this package by either name.

Eos.TimePointSec

TimePointSec encodes a point in time in seconds.

A point in time in seconds.

Converting to and from seconds

Convert seconds to a TimePointSec.

Convert a TimePointSec to seconds.

Converting to and from Time.Posix

Convert a TimePointSec to a Time.Posix.

Convert a Time.Posix to a TimePointSec.

Dealing with JSON

encode : TimePointSec -> Value

Encode a TimePointSec into JSON. You can use this to send a TimePointSec to the blockchain or some server.

Decode a TimePointSec from JSON. You can use this to receive a TimePointSec from the blockchain or some server.