Copyright | (c) Esa Ilari Vuokko 2006 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
getTimeFormatEx :: Maybe WindowsString -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe WindowsString -> IO String Source #
getTimeFormat :: LCID -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO WindowsString Source #
getTickCount :: IO DWORD Source #
Instances
Storable FILETIME Source # | |
Defined in System.Win32.Time.Internal | |
Show FILETIME Source # | |
Eq FILETIME Source # | |
Ord FILETIME Source # | |
Defined in System.Win32.Time.Internal |
data SYSTEMTIME Source #
Instances
data TIME_ZONE_INFORMATION Source #
Instances
data TimeZoneId Source #
Instances
Show TimeZoneId Source # | |
Defined in System.Win32.Time.Internal showsPrec :: Int -> TimeZoneId -> ShowS # show :: TimeZoneId -> String # showList :: [TimeZoneId] -> ShowS # | |
Eq TimeZoneId Source # | |
Defined in System.Win32.Time.Internal (==) :: TimeZoneId -> TimeZoneId -> Bool # (/=) :: TimeZoneId -> TimeZoneId -> Bool # | |
Ord TimeZoneId Source # | |
Defined in System.Win32.Time.Internal compare :: TimeZoneId -> TimeZoneId -> Ordering # (<) :: TimeZoneId -> TimeZoneId -> Bool # (<=) :: TimeZoneId -> TimeZoneId -> Bool # (>) :: TimeZoneId -> TimeZoneId -> Bool # (>=) :: TimeZoneId -> TimeZoneId -> Bool # max :: TimeZoneId -> TimeZoneId -> TimeZoneId # min :: TimeZoneId -> TimeZoneId -> TimeZoneId # |
setSystemTime :: SYSTEMTIME -> IO () Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getIdleTime :: IO Integer Source #
type GetTimeFormatFlags = DWORD Source #