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
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 #
Constructors
SYSTEMTIME | |
Instances
data TIME_ZONE_INFORMATION Source #
Constructors
TIME_ZONE_INFORMATION | |
Fields |
Instances
data TimeZoneId Source #
Constructors
TzIdUnknown | |
TzIdStandard | |
TzIdDaylight |
Instances
Show TimeZoneId Source # | |
Defined in System.Win32.Time.Internal Methods showsPrec :: Int -> TimeZoneId -> ShowS # show :: TimeZoneId -> String # showList :: [TimeZoneId] -> ShowS # | |
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 # |
setSystemTime :: SYSTEMTIME -> IO () Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getTickCount :: IO DWORD Source #
getIdleTime :: 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 #