glib-0.13.4.1: Binding to the GLIB library for Gtk2Hs.

Maintainer | gtk2hs-users@lists.sourceforge.net
Stability | provisional
Portability | portable (depends on GHC)
Safe Haskell | None
Language | Haskell98

System.Glib.GDateTime

Description

# Documentation

type GTimeValPart = CLong #

data GTimeVal #

Constructors

GTimeVal |
Fields gTimeValSec :: GTimeValPart gTimeValUSec :: GTimeValPart

Instances

Eq GTimeVal # |
Methods (==) :: GTimeVal -> GTimeVal -> Bool # (/=) :: GTimeVal -> GTimeVal -> Bool #
Ord GTimeVal # |
Methods compare :: GTimeVal -> GTimeVal -> Ordering # (<) :: GTimeVal -> GTimeVal -> Bool # (<=) :: GTimeVal -> GTimeVal -> Bool # (>) :: GTimeVal -> GTimeVal -> Bool # (>=) :: GTimeVal -> GTimeVal -> Bool # max :: GTimeVal -> GTimeVal -> GTimeVal # min :: GTimeVal -> GTimeVal -> GTimeVal #
Storable GTimeVal # |
Methods sizeOf :: GTimeVal -> Int # alignment :: GTimeVal -> Int # peekElemOff :: Ptr GTimeVal -> Int -> IO GTimeVal # pokeElemOff :: Ptr GTimeVal -> Int -> GTimeVal -> IO () # peekByteOff :: Ptr b -> Int -> IO GTimeVal # pokeByteOff :: Ptr b -> Int -> GTimeVal -> IO () # peek :: Ptr GTimeVal -> IO GTimeVal # poke :: Ptr GTimeVal -> GTimeVal -> IO () #

gGetCurrentTime :: IO GTimeVal #

gUSleep :: GTimeValPart -> IO () #

gTimeValAdd :: GTimeVal -> GTimeValPart -> GTimeVal #

gTimeValFromISO8601 :: GlibString string => string -> Maybe GTimeVal #

gTimeValToISO8601 :: GlibString string => GTimeVal -> string #

newtype GDate #

Constructors

GDate |
Fields gDateJulianDay :: GDateJulianDay

Instances

Eq GDate # |
Methods (==) :: GDate -> GDate -> Bool # (/=) :: GDate -> GDate -> Bool #
Ord GDate # |
Methods compare :: GDate -> GDate -> Ordering # (<) :: GDate -> GDate -> Bool # (<=) :: GDate -> GDate -> Bool # (>) :: GDate -> GDate -> Bool # (>=) :: GDate -> GDate -> Bool # max :: GDate -> GDate -> GDate # min :: GDate -> GDate -> GDate #
Storable GDate # |
Methods sizeOf :: GDate -> Int # alignment :: GDate -> Int # peekElemOff :: Ptr GDate -> Int -> IO GDate # pokeElemOff :: Ptr GDate -> Int -> GDate -> IO () # peekByteOff :: Ptr b -> Int -> IO GDate # pokeByteOff :: Ptr b -> Int -> GDate -> IO () # peek :: Ptr GDate -> IO GDate # poke :: Ptr GDate -> GDate -> IO () #

data GDateDay #

Instances

Bounded GDateDay # |
Methods minBound :: GDateDay # maxBound :: GDateDay #
Eq GDateDay # |
Methods (==) :: GDateDay -> GDateDay -> Bool # (/=) :: GDateDay -> GDateDay -> Bool #
Ord GDateDay # |
Methods compare :: GDateDay -> GDateDay -> Ordering # (<) :: GDateDay -> GDateDay -> Bool # (<=) :: GDateDay -> GDateDay -> Bool # (>) :: GDateDay -> GDateDay -> Bool # (>=) :: GDateDay -> GDateDay -> Bool # max :: GDateDay -> GDateDay -> GDateDay # min :: GDateDay -> GDateDay -> GDateDay #

data GDateMonth #

Instances

Bounded GDateMonth # |
Methods minBound :: GDateMonth # maxBound :: GDateMonth #
Enum GDateMonth # |
Methods succ :: GDateMonth -> GDateMonth # pred :: GDateMonth -> GDateMonth # toEnum :: Int -> GDateMonth # fromEnum :: GDateMonth -> Int # enumFrom :: GDateMonth -> [GDateMonth] # enumFromThen :: GDateMonth -> GDateMonth -> [GDateMonth] # enumFromTo :: GDateMonth -> GDateMonth -> [GDateMonth] # enumFromThenTo :: GDateMonth -> GDateMonth -> GDateMonth -> [GDateMonth] #
Eq GDateMonth # |
Methods (==) :: GDateMonth -> GDateMonth -> Bool # (/=) :: GDateMonth -> GDateMonth -> Bool #
Ord GDateMonth # |
Methods compare :: GDateMonth -> GDateMonth -> Ordering # (<) :: GDateMonth -> GDateMonth -> Bool # (<=) :: GDateMonth -> GDateMonth -> Bool # (>) :: GDateMonth -> GDateMonth -> Bool # (>=) :: GDateMonth -> GDateMonth -> Bool # max :: GDateMonth -> GDateMonth -> GDateMonth # min :: GDateMonth -> GDateMonth -> GDateMonth #

data GDateYear #

Instances

Bounded GDateYear # |
Methods minBound :: GDateYear # maxBound :: GDateYear #
Eq GDateYear # |
Methods (==) :: GDateYear -> GDateYear -> Bool # (/=) :: GDateYear -> GDateYear -> Bool #
Ord GDateYear # |
Methods compare :: GDateYear -> GDateYear -> Ordering # (<) :: GDateYear -> GDateYear -> Bool # (<=) :: GDateYear -> GDateYear -> Bool # (>) :: GDateYear -> GDateYear -> Bool # (>=) :: GDateYear -> GDateYear -> Bool # max :: GDateYear -> GDateYear -> GDateYear # min :: GDateYear -> GDateYear -> GDateYear #

type GDateJulianDay = CUInt #

data GDateWeekday #

Instances

Bounded GDateWeekday # |
Methods minBound :: GDateWeekday # maxBound :: GDateWeekday #
Enum GDateWeekday # |
Methods succ :: GDateWeekday -> GDateWeekday # pred :: GDateWeekday -> GDateWeekday # toEnum :: Int -> GDateWeekday # fromEnum :: GDateWeekday -> Int # enumFrom :: GDateWeekday -> [GDateWeekday] # enumFromThen :: GDateWeekday -> GDateWeekday -> [GDateWeekday] # enumFromTo :: GDateWeekday -> GDateWeekday -> [GDateWeekday] # enumFromThenTo :: GDateWeekday -> GDateWeekday -> GDateWeekday -> [GDateWeekday] #
Eq GDateWeekday # |
Methods (==) :: GDateWeekday -> GDateWeekday -> Bool # (/=) :: GDateWeekday -> GDateWeekday -> Bool #
Ord GDateWeekday # |
Methods compare :: GDateWeekday -> GDateWeekday -> Ordering # (<) :: GDateWeekday -> GDateWeekday -> Bool # (<=) :: GDateWeekday -> GDateWeekday -> Bool # (>) :: GDateWeekday -> GDateWeekday -> Bool # (>=) :: GDateWeekday -> GDateWeekday -> Bool # max :: GDateWeekday -> GDateWeekday -> GDateWeekday # min :: GDateWeekday -> GDateWeekday -> 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 :: GlibString string => 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 #