Data.Attoparsec.Time.Internal

attoparsec-iso8601-1.1.1.0: Parsing of ISO 8601 dates, originally from aeson

Copyright | (c) 2015-2016 Bryan O'Sullivan
License | BSD3
Maintainer | Bryan O'Sullivan <bos@serpentine.com>
Stability | experimental
Portability | portable
Safe Haskell | Safe-Inferred
Language | Haskell2010

Data.Attoparsec.Time.Internal

Description

Synopsis

- data TimeOfDay64 = TOD !Int !Int !Int64
- fromPico :: Pico -> Integer
- toPico :: Integer -> Pico
- diffTimeOfDay64 :: DiffTime -> TimeOfDay64
- toTimeOfDay64 :: TimeOfDay -> TimeOfDay64

# Documentation

data TimeOfDay64 #

Like TimeOfDay, but using a fixed-width integer for seconds.

Constructors

TOD !Int !Int !Int64 |

fromPico :: Pico -> Integer #

Deprecated: Use MkFixed

toPico :: Integer -> Pico #

Deprecated: Use MkFixed

diffTimeOfDay64 :: DiffTime -> TimeOfDay64 #

toTimeOfDay64 :: TimeOfDay -> TimeOfDay64 #