Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- dateTimeAdd
- dateTimeAddDays
- dateTimeAddFull
- dateTimeAddHours
- dateTimeAddMinutes
- dateTimeAddMonths
- dateTimeAddSeconds
- dateTimeAddWeeks
- dateTimeAddYears
- dateTimeCompare
- dateTimeDifference
- dateTimeEqual
- dateTimeFormat
- dateTimeGetDayOfMonth
- dateTimeGetDayOfWeek
- dateTimeGetDayOfYear
- dateTimeGetHour
- dateTimeGetMicrosecond
- dateTimeGetMinute
- dateTimeGetMonth
- dateTimeGetSecond
- dateTimeGetSeconds
- dateTimeGetTimezoneAbbreviation
- dateTimeGetUtcOffset
- dateTimeGetWeekNumberingYear
- dateTimeGetWeekOfYear
- dateTimeGetYear
- dateTimeGetYmd
- dateTimeHash
- dateTimeIsDaylightSavings
- dateTimeNew
- dateTimeNewFromTimevalLocal
- dateTimeNewFromTimevalUtc
- dateTimeNewFromUnixLocal
- dateTimeNewFromUnixUtc
- dateTimeNewLocal
- dateTimeNewNow
- dateTimeNewNowLocal
- dateTimeNewNowUtc
- dateTimeNewUtc
- dateTimeRef
- dateTimeToLocal
- dateTimeToTimeval
- dateTimeToTimezone
- dateTimeToUnix
- dateTimeToUtc
- dateTimeUnref
GDateTime
is an opaque structure whose members
cannot be accessed directly.
- newtype DateTime = DateTime (ForeignPtr DateTime)
- noDateTime :: Maybe DateTime
- data DateTimeAddMethodInfo
- dateTimeAdd :: MonadIO m => DateTime -> Int64 -> m DateTime
- data DateTimeAddDaysMethodInfo
- dateTimeAddDays :: MonadIO m => DateTime -> Int32 -> m DateTime
- data DateTimeAddFullMethodInfo
- dateTimeAddFull :: MonadIO m => DateTime -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
- data DateTimeAddHoursMethodInfo
- dateTimeAddHours :: MonadIO m => DateTime -> Int32 -> m DateTime
- data DateTimeAddMinutesMethodInfo
- dateTimeAddMinutes :: MonadIO m => DateTime -> Int32 -> m DateTime
- data DateTimeAddMonthsMethodInfo
- dateTimeAddMonths :: MonadIO m => DateTime -> Int32 -> m DateTime
- data DateTimeAddSecondsMethodInfo
- dateTimeAddSeconds :: MonadIO m => DateTime -> Double -> m DateTime
- data DateTimeAddWeeksMethodInfo
- dateTimeAddWeeks :: MonadIO m => DateTime -> Int32 -> m DateTime
- data DateTimeAddYearsMethodInfo
- dateTimeAddYears :: MonadIO m => DateTime -> Int32 -> m DateTime
- dateTimeCompare :: MonadIO m => Ptr () -> Ptr () -> m Int32
- data DateTimeDifferenceMethodInfo
- dateTimeDifference :: MonadIO m => DateTime -> DateTime -> m Int64
- dateTimeEqual :: MonadIO m => Ptr () -> Ptr () -> m Bool
- data DateTimeFormatMethodInfo
- dateTimeFormat :: MonadIO m => DateTime -> Text -> m Text
- data DateTimeGetDayOfMonthMethodInfo
- dateTimeGetDayOfMonth :: MonadIO m => DateTime -> m Int32
- data DateTimeGetDayOfWeekMethodInfo
- dateTimeGetDayOfWeek :: MonadIO m => DateTime -> m Int32
- data DateTimeGetDayOfYearMethodInfo
- dateTimeGetDayOfYear :: MonadIO m => DateTime -> m Int32
- data DateTimeGetHourMethodInfo
- dateTimeGetHour :: MonadIO m => DateTime -> m Int32
- data DateTimeGetMicrosecondMethodInfo
- dateTimeGetMicrosecond :: MonadIO m => DateTime -> m Int32
- data DateTimeGetMinuteMethodInfo
- dateTimeGetMinute :: MonadIO m => DateTime -> m Int32
- data DateTimeGetMonthMethodInfo
- dateTimeGetMonth :: MonadIO m => DateTime -> m Int32
- data DateTimeGetSecondMethodInfo
- dateTimeGetSecond :: MonadIO m => DateTime -> m Int32
- data DateTimeGetSecondsMethodInfo
- dateTimeGetSeconds :: MonadIO m => DateTime -> m Double
- data DateTimeGetTimezoneAbbreviationMethodInfo
- dateTimeGetTimezoneAbbreviation :: MonadIO m => DateTime -> m Text
- data DateTimeGetUtcOffsetMethodInfo
- dateTimeGetUtcOffset :: MonadIO m => DateTime -> m Int64
- data DateTimeGetWeekNumberingYearMethodInfo
- dateTimeGetWeekNumberingYear :: MonadIO m => DateTime -> m Int32
- data DateTimeGetWeekOfYearMethodInfo
- dateTimeGetWeekOfYear :: MonadIO m => DateTime -> m Int32
- data DateTimeGetYearMethodInfo
- dateTimeGetYear :: MonadIO m => DateTime -> m Int32
- data DateTimeGetYmdMethodInfo
- dateTimeGetYmd :: MonadIO m => DateTime -> m (Int32, Int32, Int32)
- dateTimeHash :: MonadIO m => Ptr () -> m Word32
- data DateTimeIsDaylightSavingsMethodInfo
- dateTimeIsDaylightSavings :: MonadIO m => DateTime -> m Bool
- dateTimeNew :: MonadIO m => TimeZone -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
- dateTimeNewFromTimevalLocal :: MonadIO m => TimeVal -> m DateTime
- dateTimeNewFromTimevalUtc :: MonadIO m => TimeVal -> m DateTime
- dateTimeNewFromUnixLocal :: MonadIO m => Int64 -> m DateTime
- dateTimeNewFromUnixUtc :: MonadIO m => Int64 -> m DateTime
- dateTimeNewLocal :: MonadIO m => Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
- dateTimeNewNow :: MonadIO m => TimeZone -> m DateTime
- dateTimeNewNowLocal :: MonadIO m => m DateTime
- dateTimeNewNowUtc :: MonadIO m => m DateTime
- dateTimeNewUtc :: MonadIO m => Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
- data DateTimeRefMethodInfo
- dateTimeRef :: MonadIO m => DateTime -> m DateTime
- data DateTimeToLocalMethodInfo
- dateTimeToLocal :: MonadIO m => DateTime -> m DateTime
- data DateTimeToTimevalMethodInfo
- dateTimeToTimeval :: MonadIO m => DateTime -> TimeVal -> m Bool
- data DateTimeToTimezoneMethodInfo
- dateTimeToTimezone :: MonadIO m => DateTime -> TimeZone -> m DateTime
- data DateTimeToUnixMethodInfo
- dateTimeToUnix :: MonadIO m => DateTime -> m Int64
- data DateTimeToUtcMethodInfo
- dateTimeToUtc :: MonadIO m => DateTime -> m DateTime
- data DateTimeUnrefMethodInfo
- dateTimeUnref :: MonadIO m => DateTime -> m ()
Exported types
Methods
dateTimeAdd
data DateTimeAddMethodInfo Source
((~) * signature (Int64 -> m DateTime), MonadIO m) => MethodInfo * DateTimeAddMethodInfo DateTime signature |
dateTimeAddDays
data DateTimeAddDaysMethodInfo Source
((~) * signature (Int32 -> m DateTime), MonadIO m) => MethodInfo * DateTimeAddDaysMethodInfo DateTime signature |
dateTimeAddFull
dateTimeAddFull :: MonadIO m => DateTime -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime Source
dateTimeAddHours
data DateTimeAddHoursMethodInfo Source
((~) * signature (Int32 -> m DateTime), MonadIO m) => MethodInfo * DateTimeAddHoursMethodInfo DateTime signature |
dateTimeAddMinutes
data DateTimeAddMinutesMethodInfo Source
((~) * signature (Int32 -> m DateTime), MonadIO m) => MethodInfo * DateTimeAddMinutesMethodInfo DateTime signature |
dateTimeAddMonths
data DateTimeAddMonthsMethodInfo Source
((~) * signature (Int32 -> m DateTime), MonadIO m) => MethodInfo * DateTimeAddMonthsMethodInfo DateTime signature |
dateTimeAddSeconds
data DateTimeAddSecondsMethodInfo Source
((~) * signature (Double -> m DateTime), MonadIO m) => MethodInfo * DateTimeAddSecondsMethodInfo DateTime signature |
dateTimeAddWeeks
data DateTimeAddWeeksMethodInfo Source
((~) * signature (Int32 -> m DateTime), MonadIO m) => MethodInfo * DateTimeAddWeeksMethodInfo DateTime signature |
dateTimeAddYears
data DateTimeAddYearsMethodInfo Source
((~) * signature (Int32 -> m DateTime), MonadIO m) => MethodInfo * DateTimeAddYearsMethodInfo DateTime signature |
dateTimeCompare
dateTimeDifference
data DateTimeDifferenceMethodInfo Source
((~) * signature (DateTime -> m Int64), MonadIO m) => MethodInfo * DateTimeDifferenceMethodInfo DateTime signature |
dateTimeEqual
dateTimeFormat
data DateTimeFormatMethodInfo Source
((~) * signature (Text -> m Text), MonadIO m) => MethodInfo * DateTimeFormatMethodInfo DateTime signature |
dateTimeGetDayOfMonth
data DateTimeGetDayOfMonthMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetDayOfMonthMethodInfo DateTime signature |
dateTimeGetDayOfMonth :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetDayOfWeek
data DateTimeGetDayOfWeekMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetDayOfWeekMethodInfo DateTime signature |
dateTimeGetDayOfWeek :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetDayOfYear
data DateTimeGetDayOfYearMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetDayOfYearMethodInfo DateTime signature |
dateTimeGetDayOfYear :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetHour
data DateTimeGetHourMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetHourMethodInfo DateTime signature |
dateTimeGetHour :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetMicrosecond
data DateTimeGetMicrosecondMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetMicrosecondMethodInfo DateTime signature |
dateTimeGetMicrosecond :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetMinute
data DateTimeGetMinuteMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetMinuteMethodInfo DateTime signature |
dateTimeGetMinute :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetMonth
data DateTimeGetMonthMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetMonthMethodInfo DateTime signature |
dateTimeGetMonth :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetSecond
data DateTimeGetSecondMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetSecondMethodInfo DateTime signature |
dateTimeGetSecond :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetSeconds
data DateTimeGetSecondsMethodInfo Source
((~) * signature (m Double), MonadIO m) => MethodInfo * DateTimeGetSecondsMethodInfo DateTime signature |
dateTimeGetSeconds :: MonadIO m => DateTime -> m Double Source
dateTimeGetTimezoneAbbreviation
data DateTimeGetTimezoneAbbreviationMethodInfo Source
((~) * signature (m Text), MonadIO m) => MethodInfo * DateTimeGetTimezoneAbbreviationMethodInfo DateTime signature |
dateTimeGetTimezoneAbbreviation :: MonadIO m => DateTime -> m Text Source
dateTimeGetUtcOffset
data DateTimeGetUtcOffsetMethodInfo Source
((~) * signature (m Int64), MonadIO m) => MethodInfo * DateTimeGetUtcOffsetMethodInfo DateTime signature |
dateTimeGetUtcOffset :: MonadIO m => DateTime -> m Int64 Source
dateTimeGetWeekNumberingYear
data DateTimeGetWeekNumberingYearMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetWeekNumberingYearMethodInfo DateTime signature |
dateTimeGetWeekNumberingYear :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetWeekOfYear
data DateTimeGetWeekOfYearMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetWeekOfYearMethodInfo DateTime signature |
dateTimeGetWeekOfYear :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetYear
data DateTimeGetYearMethodInfo Source
((~) * signature (m Int32), MonadIO m) => MethodInfo * DateTimeGetYearMethodInfo DateTime signature |
dateTimeGetYear :: MonadIO m => DateTime -> m Int32 Source
dateTimeGetYmd
data DateTimeGetYmdMethodInfo Source
((~) * signature (m (Int32, Int32, Int32)), MonadIO m) => MethodInfo * DateTimeGetYmdMethodInfo DateTime signature |
dateTimeHash
dateTimeHash :: MonadIO m => Ptr () -> m Word32 Source
dateTimeIsDaylightSavings
data DateTimeIsDaylightSavingsMethodInfo Source
((~) * signature (m Bool), MonadIO m) => MethodInfo * DateTimeIsDaylightSavingsMethodInfo DateTime signature |
dateTimeIsDaylightSavings :: MonadIO m => DateTime -> m Bool Source
dateTimeNew
dateTimeNew :: MonadIO m => TimeZone -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime Source
dateTimeNewFromTimevalLocal
dateTimeNewFromTimevalLocal :: MonadIO m => TimeVal -> m DateTime Source
dateTimeNewFromTimevalUtc
dateTimeNewFromTimevalUtc :: MonadIO m => TimeVal -> m DateTime Source
dateTimeNewFromUnixLocal
dateTimeNewFromUnixLocal :: MonadIO m => Int64 -> m DateTime Source
dateTimeNewFromUnixUtc
dateTimeNewFromUnixUtc :: MonadIO m => Int64 -> m DateTime Source
dateTimeNewLocal
dateTimeNewLocal :: MonadIO m => Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime Source
dateTimeNewNow
dateTimeNewNow :: MonadIO m => TimeZone -> m DateTime Source
dateTimeNewNowLocal
dateTimeNewNowLocal :: MonadIO m => m DateTime Source
dateTimeNewNowUtc
dateTimeNewNowUtc :: MonadIO m => m DateTime Source
dateTimeNewUtc
dateTimeNewUtc :: MonadIO m => Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime Source
dateTimeRef
data DateTimeRefMethodInfo Source
((~) * signature (m DateTime), MonadIO m) => MethodInfo * DateTimeRefMethodInfo DateTime signature |
dateTimeRef :: MonadIO m => DateTime -> m DateTime Source
dateTimeToLocal
data DateTimeToLocalMethodInfo Source
((~) * signature (m DateTime), MonadIO m) => MethodInfo * DateTimeToLocalMethodInfo DateTime signature |
dateTimeToLocal :: MonadIO m => DateTime -> m DateTime Source
dateTimeToTimeval
data DateTimeToTimevalMethodInfo Source
((~) * signature (TimeVal -> m Bool), MonadIO m) => MethodInfo * DateTimeToTimevalMethodInfo DateTime signature |
dateTimeToTimezone
data DateTimeToTimezoneMethodInfo Source
((~) * signature (TimeZone -> m DateTime), MonadIO m) => MethodInfo * DateTimeToTimezoneMethodInfo DateTime signature |
dateTimeToUnix
data DateTimeToUnixMethodInfo Source
((~) * signature (m Int64), MonadIO m) => MethodInfo * DateTimeToUnixMethodInfo DateTime signature |
dateTimeToUnix :: MonadIO m => DateTime -> m Int64 Source
dateTimeToUtc
data DateTimeToUtcMethodInfo Source
((~) * signature (m DateTime), MonadIO m) => MethodInfo * DateTimeToUtcMethodInfo DateTime signature |
dateTimeToUtc :: MonadIO m => DateTime -> m DateTime Source
dateTimeUnref
data DateTimeUnrefMethodInfo Source
((~) * signature (m ()), MonadIO m) => MethodInfo * DateTimeUnrefMethodInfo DateTime signature |
dateTimeUnref :: MonadIO m => DateTime -> m () Source