/usr/share/doc/libghc-datetime-doc/html/datetime.txt is in libghc-datetime-doc 0.2.1-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Utilities to make Data.Time.* easier to use.
--
-- Provides several utilities for easily converting among the various
-- standard library Date and Time types, and for converting between these
-- and standard external representations.
@package datetime
@version 0.2.1
module Data.DateTime
type DateTime = UTCTime
getCurrentTime :: IO DateTime
toMJD :: DateTime -> Rational
toMJD' :: RealFloat a => DateTime -> a
fromMJD :: Rational -> DateTime
fromMJD' :: RealFloat a => a -> DateTime
invariant :: Eq a => (a -> a) -> a -> Bool
prop_MJD :: DateTime -> Bool
prop_MJD' :: DateTime -> Bool
toUniversalTime :: DateTime -> UniversalTime
fromUniversalTime :: UniversalTime -> DateTime
prop_Universal :: DateTime -> Bool
toGregorian' :: DateTime -> (Integer, Int, Int)
toGregorian :: DateTime -> (Integer, Int, Int, Int, Int, Int)
fromGregorian' :: Integer -> Int -> Int -> DateTime
fromGregorian :: Integer -> Int -> Int -> Int -> Int -> Int -> DateTime
toSeconds :: DateTime -> Integer
fromSeconds :: Integer -> DateTime
toClockTime :: DateTime -> ClockTime
fromClockTime :: ClockTime -> DateTime
startOfTime :: DateTime
prop_StartOfTime :: t -> Bool
startOfTimeMJD :: Rational
toSqlString :: DateTime -> String
fromSqlString :: String -> Maybe DateTime
prop_SqlString :: UTCTime -> Bool
prop_SqlStartOfTime :: t -> Bool
formatDateTime :: String -> DateTime -> String
parseDateTime :: String -> String -> Maybe DateTime
sqlFormat :: String
addMinutes' :: Int -> DateTime -> DateTime
addMinutes :: Integer -> DateTime -> DateTime
diffMinutes' :: DateTime -> DateTime -> Int
diffMinutes :: DateTime -> DateTime -> Integer
addSeconds :: Integer -> DateTime -> DateTime
diffSeconds :: DateTime -> DateTime -> Integer
instance Arbitrary UTCTime
|