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 | Safe |
Language | Haskell2010 |
System.Win32.Time
Description
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
Instances
Eq FILETIME Source # | |
Ord FILETIME Source # | |
Defined in System.Win32.Time.Internal | |
Show FILETIME Source # | |
Storable FILETIME Source # | |
Defined in System.Win32.Time.Internal Methods peekElemOff :: Ptr FILETIME -> Int -> IO FILETIME pokeElemOff :: Ptr FILETIME -> Int -> FILETIME -> IO () peekByteOff :: Ptr b -> Int -> IO FILETIME pokeByteOff :: Ptr b -> Int -> FILETIME -> IO () |
data SYSTEMTIME Source #
Constructors
SYSTEMTIME | |
Fields
|
Instances
data TIME_ZONE_INFORMATION Source #
Constructors
TIME_ZONE_INFORMATION | |
Fields
|
Instances
data TimeZoneId Source #
Constructors
TzIdUnknown | |
TzIdStandard | |
TzIdDaylight |
Instances
Eq TimeZoneId Source # | |
Defined in System.Win32.Time.Internal | |
Ord TimeZoneId Source # | |
Defined in System.Win32.Time.Internal Methods compare :: TimeZoneId -> TimeZoneId -> Ordering (<) :: TimeZoneId -> TimeZoneId -> Bool (<=) :: TimeZoneId -> TimeZoneId -> Bool (>) :: TimeZoneId -> TimeZoneId -> Bool (>=) :: TimeZoneId -> TimeZoneId -> Bool max :: TimeZoneId -> TimeZoneId -> TimeZoneId min :: TimeZoneId -> TimeZoneId -> TimeZoneId | |
Show TimeZoneId Source # | |
Defined in System.Win32.Time.Internal Methods showsPrec :: Int -> TimeZoneId -> ShowS show :: TimeZoneId -> String showList :: [TimeZoneId] -> ShowS |
getSystemTime :: IO SYSTEMTIME Source #
setSystemTime :: SYSTEMTIME -> IO () Source #
getLocalTime :: IO SYSTEMTIME Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getSystemTimeAdjustment :: IO (Maybe (Int, Int)) Source #
getTickCount :: IO DWORD Source #
getLastInputInfo :: IO DWORD Source #
getIdleTime :: IO Integer Source #
setSystemTimeAdjustment :: Maybe Int -> IO () Source #
systemTimeToFileTime :: SYSTEMTIME -> IO FILETIME Source #
fileTimeToSystemTime :: FILETIME -> IO SYSTEMTIME Source #
fileTimeToLocalFileTime :: FILETIME -> IO FILETIME Source #
localFileTimeToFileTime :: FILETIME -> IO FILETIME Source #
queryPerformanceFrequency :: IO Integer Source #
queryPerformanceCounter :: IO Integer Source #
type GetTimeFormatFlags = DWORD Source #
getTimeFormatEx :: Maybe String -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO String Source #
getTimeFormat :: LCID -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO String Source #