Win32-2.1.1.1: A binding to part of the Win32 librarySource codeContentsIndex
System.Win32.Time
Portabilityportable
Stabilityprovisional
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32 Time API.
Documentation
newtype FILETIME Source
Constructors
FILETIME DDWORD
show/hide Instances
data SYSTEMTIME Source
Constructors
SYSTEMTIME
wYear, wMonth, wDayOfWeek, wDay, wHour, wMinute, wSecond, wMilliseconds :: WORD
show/hide Instances
data TIME_ZONE_INFORMATION Source
Constructors
TIME_ZONE_INFORMATION
tziBias :: LONG
tziStandardName :: String
tziStandardDate :: SYSTEMTIME
tziStandardBias :: LONG
tziDaylightName :: String
tziDaylightDate :: SYSTEMTIME
tziDaylightBias :: LONG
show/hide Instances
data TimeZoneId Source
Constructors
TzIdUnknown
TzIdStandard
TzIdDaylight
show/hide Instances
c_GetSystemTime :: Ptr SYSTEMTIME -> IO ()Source
getSystemTime :: IO SYSTEMTIMESource
c_SetSystemTime :: Ptr SYSTEMTIME -> IO BOOLSource
setSystemTime :: SYSTEMTIME -> IO ()Source
c_GetSystemTimeAsFileTime :: Ptr FILETIME -> IO ()Source
getSystemTimeAsFileTime :: IO FILETIMESource
c_GetLocalTime :: Ptr SYSTEMTIME -> IO ()Source
getLocalTime :: IO SYSTEMTIMESource
c_SetLocalTime :: Ptr SYSTEMTIME -> IO BOOLSource
setLocalTime :: SYSTEMTIME -> IO ()Source
c_GetSystemTimeAdjustment :: Ptr DWORD -> Ptr DWORD -> Ptr BOOL -> IO BOOLSource
getSystemTimeAdjustment :: IO (Maybe (Int, Int))Source
getTickCount :: IO DWORDSource
c_SetSystemTimeAdjustment :: DWORD -> BOOL -> IO BOOLSource
setSystemTimeAdjustment :: Maybe Int -> IO ()Source
c_GetTimeZoneInformation :: Ptr TIME_ZONE_INFORMATION -> IO DWORDSource
getTimeZoneInformation :: IO (TimeZoneId, TIME_ZONE_INFORMATION)Source
c_SystemTimeToFileTime :: Ptr SYSTEMTIME -> Ptr FILETIME -> IO BOOLSource
systemTimeToFileTime :: SYSTEMTIME -> IO FILETIMESource
c_FileTimeToSystemTime :: Ptr FILETIME -> Ptr SYSTEMTIME -> IO BOOLSource
fileTimeToSystemTime :: FILETIME -> IO SYSTEMTIMESource
c_GetFileTime :: HANDLE -> Ptr FILETIME -> Ptr FILETIME -> Ptr FILETIME -> IO BOOLSource
getFileTime :: HANDLE -> IO (FILETIME, FILETIME, FILETIME)Source
c_SetFileTime :: HANDLE -> Ptr FILETIME -> Ptr FILETIME -> Ptr FILETIME -> IO BOOLSource
setFileTime :: HANDLE -> FILETIME -> FILETIME -> FILETIME -> IO ()Source
c_FileTimeToLocalFileTime :: Ptr FILETIME -> Ptr FILETIME -> IO BOOLSource
fileTimeToLocalFileTime :: FILETIME -> IO FILETIMESource
c_LocalFileTimeToFileTime :: Ptr FILETIME -> Ptr FILETIME -> IO BOOLSource
localFileTimeToFileTime :: FILETIME -> IO FILETIMESource
c_QueryPerformanceFrequency :: Ptr LARGE_INTEGER -> IO BOOLSource
queryPerformanceFrequency :: IO IntegerSource
c_QueryPerformanceCounter :: Ptr LARGE_INTEGER -> IO BOOLSource
queryPerformanceCounter :: IO IntegerSource
type GetTimeFormatFlags = DWORDSource
lOCALE_NOUSEROVERRIDE :: GetTimeFormatFlagsSource
lOCALE_USE_CP_ACP :: GetTimeFormatFlagsSource
tIME_NOMINUTESORSECONDS :: GetTimeFormatFlagsSource
tIME_NOSECONDS :: GetTimeFormatFlagsSource
tIME_NOTIMEMARKER :: GetTimeFormatFlagsSource
tIME_FORCE24HOURFORMAT :: GetTimeFormatFlagsSource
c_GetTimeFormat :: LCID -> GetTimeFormatFlags -> Ptr SYSTEMTIME -> LPCTSTR -> LPTSTR -> CInt -> IO CIntSource
getTimeFormat :: LCID -> GetTimeFormatFlags -> SYSTEMTIME -> String -> IO StringSource
Produced by Haddock version 0.8