| 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 |
System.Win32.WindowsString.Time
Description
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
getTimeFormat :: LCID -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO WindowsString Source #
getTimeFormatEx :: Maybe WindowsString -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe WindowsString -> IO String Source #
getIdleTime :: IO Integer Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
setSystemTime :: SYSTEMTIME -> IO () Source #
getTickCount :: IO DWORD Source #
Instances
| Eq FILETIME Source # | |
| Ord FILETIME Source # | |
Defined in System.Win32.Time.Internal | |
| Storable FILETIME Source # | |
Defined in System.Win32.Time.Internal Methods sizeOf :: FILETIME -> Int Source # alignment :: FILETIME -> Int Source # peekElemOff :: Ptr FILETIME -> Int -> IO FILETIME Source # pokeElemOff :: Ptr FILETIME -> Int -> FILETIME -> IO () Source # peekByteOff :: Ptr b -> Int -> IO FILETIME Source # pokeByteOff :: Ptr b -> Int -> FILETIME -> IO () Source # | |
| Show FILETIME Source # | |
type GetTimeFormatFlags = DWORD Source #
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
| Eq TimeZoneId Source # | |
Defined in System.Win32.Time.Internal Methods (==) :: TimeZoneId -> TimeZoneId -> Bool Source # (/=) :: TimeZoneId -> TimeZoneId -> Bool Source # | |
| Ord TimeZoneId Source # | |
Defined in System.Win32.Time.Internal Methods compare :: TimeZoneId -> TimeZoneId -> Ordering Source # (<) :: TimeZoneId -> TimeZoneId -> Bool Source # (<=) :: TimeZoneId -> TimeZoneId -> Bool Source # (>) :: TimeZoneId -> TimeZoneId -> Bool Source # (>=) :: TimeZoneId -> TimeZoneId -> Bool Source # max :: TimeZoneId -> TimeZoneId -> TimeZoneId Source # min :: TimeZoneId -> TimeZoneId -> TimeZoneId Source # | |
| Show TimeZoneId Source # | |
Defined in System.Win32.Time.Internal | |