cardano-wallet-core-2022.7.1: The Wallet Backend for a Cardano node.
Copyright © 2018-2020 IOHK
License Apache-2.0
Safe Haskell Safe-Inferred
Language Haskell2010

Data.Time.Utils

Description

Utility functions for manipulating time values.

Synopsis

Documentation

utcTimePred :: UTCTime -> UTCTime Source #

For a given time t0 , get the closest representable time t1 to t0 for which 't1 < t0'.

utcTimeSucc :: UTCTime -> UTCTime Source #

For a given time t0 , get the closest representable time t1 to t0 for which 't0 < t1'.