datetime-0.2: Utilities to make Data.Time.* easier to use.Source codeContentsIndex
Data.DateTime
Documentation
type DateTime = UTCTimeSource
getCurrentTime :: IO DateTimeSource
toMJD :: DateTime -> RationalSource
toMJD' :: RealFloat a => DateTime -> aSource
fromMJD :: Rational -> DateTimeSource
fromMJD' :: RealFloat a => a -> DateTimeSource
toUniversalTime :: DateTime -> UniversalTimeSource
fromUniversalTime :: UniversalTime -> DateTimeSource
toGregorian' :: DateTime -> (Integer, Int, Int)Source
toGregorian :: DateTime -> (Integer, Int, Int, Int, Int, Int)Source
fromGregorian' :: Integer -> Int -> Int -> DateTimeSource
fromGregorian :: Integer -> Int -> Int -> Int -> Int -> Int -> DateTimeSource
toSeconds :: DateTime -> IntegerSource
fromSeconds :: Integer -> DateTimeSource
toClockTime :: DateTime -> ClockTimeSource
fromClockTime :: ClockTime -> DateTimeSource
startOfTime :: DateTimeSource
startOfTimeMJD :: RationalSource
toSqlString :: DateTime -> StringSource
fromSqlString :: String -> Maybe DateTimeSource
formatDateTime :: String -> DateTime -> StringSource
parseDateTime :: String -> String -> Maybe DateTimeSource
addMinutes' :: Int -> DateTime -> DateTimeSource
addMinutes :: Integer -> DateTime -> DateTimeSource
diffMinutes' :: DateTime -> DateTime -> IntSource
diffMinutes :: DateTime -> DateTime -> IntegerSource
addSeconds :: Integer -> DateTime -> DateTimeSource
diffSeconds :: DateTime -> DateTime -> IntegerSource
Produced by Haddock version 2.6.0