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
getTimeFormatEx :: Maybe WindowsString -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe WindowsString -> IO String Source #
getTimeFormat :: LCID -> GetTimeFormatFlags -> Maybe SYSTEMTIME -> Maybe String -> IO WindowsString Source #
type GetTimeFormatFlags = DWORD Source #
data TimeZoneId Source #
Instances
Instances details
Instance details
Defined in System.Win32.Time.Internal
Instance details
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
Instance details
Defined in System.Win32.Time.Internal
Methods
showsPrec :: Int -> TimeZoneId -> ShowS
show :: TimeZoneId -> String
showList :: [TimeZoneId] -> ShowS
data TIME_ZONE_INFORMATION Source #
Constructors
Fields
- tziBias :: LONG
- tziStandardName :: String
- tziStandardDate :: SYSTEMTIME
- tziStandardBias :: LONG
- tziDaylightName :: String
- tziDaylightDate :: SYSTEMTIME
- tziDaylightBias :: LONG
Instances
Instances details
Instance details
Defined in System.Win32.Time.Internal
Methods
(==) :: TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> Bool
(/=) :: TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> Bool
Instance details
Defined in System.Win32.Time.Internal
Methods
compare :: TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> Ordering
(<) :: TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> Bool
(<=) :: TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> Bool
(>) :: TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> Bool
(>=) :: TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> Bool
max :: TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION
min :: TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION
Instance details
Defined in System.Win32.Time.Internal
Methods
showsPrec :: Int -> TIME_ZONE_INFORMATION -> ShowS
show :: TIME_ZONE_INFORMATION -> String
showList :: [TIME_ZONE_INFORMATION] -> ShowS
Instance details
Defined in System.Win32.Time.Internal
Methods
sizeOf :: TIME_ZONE_INFORMATION -> Int
alignment :: TIME_ZONE_INFORMATION -> Int
peekElemOff :: Ptr TIME_ZONE_INFORMATION -> Int -> IO TIME_ZONE_INFORMATION
pokeElemOff :: Ptr TIME_ZONE_INFORMATION -> Int -> TIME_ZONE_INFORMATION -> IO ()
peekByteOff :: Ptr b -> Int -> IO TIME_ZONE_INFORMATION
pokeByteOff :: Ptr b -> Int -> TIME_ZONE_INFORMATION -> IO ()
peek :: Ptr TIME_ZONE_INFORMATION -> IO TIME_ZONE_INFORMATION
poke :: Ptr TIME_ZONE_INFORMATION -> TIME_ZONE_INFORMATION -> IO ()
data SYSTEMTIME Source #
Constructors
Fields
- wYear, wMonth, wDayOfWeek, wDay, wHour, wMinute, wSecond, wMilliseconds :: WORD
Instances
Instances details
Instance details
Defined in System.Win32.Time.Internal
Instance details
Defined in System.Win32.Time.Internal
Methods
compare :: SYSTEMTIME -> SYSTEMTIME -> Ordering
(<) :: SYSTEMTIME -> SYSTEMTIME -> Bool
(<=) :: SYSTEMTIME -> SYSTEMTIME -> Bool
(>) :: SYSTEMTIME -> SYSTEMTIME -> Bool
(>=) :: SYSTEMTIME -> SYSTEMTIME -> Bool
max :: SYSTEMTIME -> SYSTEMTIME -> SYSTEMTIME
min :: SYSTEMTIME -> SYSTEMTIME -> SYSTEMTIME
Instance details
Defined in System.Win32.Time.Internal
Methods
showsPrec :: Int -> SYSTEMTIME -> ShowS
show :: SYSTEMTIME -> String
showList :: [SYSTEMTIME] -> ShowS
Instance details
Defined in System.Win32.Time.Internal
Methods
sizeOf :: SYSTEMTIME -> Int
alignment :: SYSTEMTIME -> Int
peekElemOff :: Ptr SYSTEMTIME -> Int -> IO SYSTEMTIME
pokeElemOff :: Ptr SYSTEMTIME -> Int -> SYSTEMTIME -> IO ()
peekByteOff :: Ptr b -> Int -> IO SYSTEMTIME
pokeByteOff :: Ptr b -> Int -> SYSTEMTIME -> IO ()
peek :: Ptr SYSTEMTIME -> IO SYSTEMTIME
poke :: Ptr SYSTEMTIME -> SYSTEMTIME -> IO ()
Instances
Instances details
Instance details
Defined in System.Win32.Time.Internal
Instance details
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 ()
getTickCount :: IO DWORD Source #
getSystemTime :: IO SYSTEMTIME Source #
setSystemTime :: SYSTEMTIME -> IO () Source #
getLocalTime :: IO SYSTEMTIME Source #
setLocalTime :: SYSTEMTIME -> IO () Source #
getSystemTimeAdjustment :: IO (Maybe (Int, Int)) 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 #