| Gtk2Hs | Contents | Index

System.Glib.GDateTime

Portability | portable (depends on GHC)
Stability | provisional
Maintainer | gtk2hs-users@lists.sourceforge.net

Description
Documentation
type GTimeValPart = CLong
data GTimeVal

Constructors

GTimeVal |

gTimeValSec :: GTimeValPart |
gTimeValUSec :: GTimeValPart |

Instances

Eq GTimeVal
Ord GTimeVal
Storable GTimeVal

gGetCurrentTime :: IO GTimeVal
gUSleep :: GTimeValPart -> IO ()
gTimeValAdd :: GTimeVal -> GTimeValPart -> GTimeVal
gTimeValFromISO8601 :: String -> Maybe GTimeVal
gTimeValToISO8601 :: GTimeVal -> String
newtype GDate

Constructors

GDate |

gDateJulianDay :: GDateJulianDay |

Instances

Eq GDate
Ord GDate
Storable GDate

data GDateDay

Instances

Bounded GDateDay
Eq GDateDay
Ord GDateDay

data GDateMonth

Instances

Bounded GDateMonth
Enum GDateMonth
Eq GDateMonth
Ord GDateMonth

data GDateYear

Instances

Bounded GDateYear
Eq GDateYear
Ord GDateYear

type GDateJulianDay = CUInt
data GDateWeekday

Instances

Bounded GDateWeekday
Enum GDateWeekday
Eq GDateWeekday
Ord GDateWeekday

gDateValidJulian :: GDateJulianDay -> Bool
gDateValidDMY :: GDateDay -> GDateMonth -> GDateYear -> Bool
gDateNewJulian :: GDateJulianDay -> Maybe GDate
gDateNewDMY :: GDateDay -> GDateMonth -> GDateYear -> Maybe GDate
gDateSetDay :: GDate -> GDateDay -> Maybe GDate
gDateSetMonth :: GDate -> GDateMonth -> Maybe GDate
gDateSetYear :: GDate -> GDateYear -> Maybe GDate
gDateNewTimeVal :: GTimeVal -> GDate
gDateParse :: String -> IO (Maybe GDate)
gDateAddDays :: GDate -> Word -> GDate
gDateSubtractDays :: GDate -> Word -> GDate
gDateAddMonths :: GDate -> Word -> GDate
gDateSubtractMonths :: GDate -> Word -> GDate
gDateAddYears :: GDate -> Word -> GDate
gDateSubtractYears :: GDate -> Word -> GDate
gDateDaysBetween :: GDate -> GDate -> Int
gDateCompare :: GDate -> GDate -> Ordering
gDateClamp :: GDate -> GDate -> GDate -> GDate
gDateDay :: GDate -> GDateDay
gDateMonth :: GDate -> GDateMonth
gDateYear :: GDate -> GDateYear
gDateWeekday :: GDate -> GDateWeekday
Produced by Haddock version 2.4.2