Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Session.Timing.Math
Synopsis
- nextExpires :: Timeout NominalDiffTime -> Time UTCTime -> Maybe UTCTime
- isExpired :: Timeout NominalDiffTime -> UTCTime -> Time UTCTime -> Bool
Documentation
Calculate the next point in time where the given session will expire assuming that it sees no activity until then
Returns Nothing
if and only if the settings do not specify any timeout
limits.