-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | locale library -- -- This package provides the old locale library. For new code, the new -- locale library is recommended. @package old-locale @version 1.0.0.4 -- | This module provides the ability to adapt to local conventions. At -- present, it supports only time and date information as used by -- System.Time.calendarTimeToString from the System.Time module in the -- old-time package. module System.Locale data TimeLocale TimeLocale :: [(String, String)] -> [(String, String)] -> [(String, String)] -> (String, String) -> String -> String -> String -> String -> TimeLocale -- | full and abbreviated week days wDays :: TimeLocale -> [(String, String)] -- | full and abbreviated months months :: TimeLocale -> [(String, String)] intervals :: TimeLocale -> [(String, String)] -- | AM/PM symbols amPm :: TimeLocale -> (String, String) -- | formatting strings dateTimeFmt :: TimeLocale -> String -- | formatting strings dateFmt :: TimeLocale -> String -- | formatting strings timeFmt :: TimeLocale -> String -- | formatting strings time12Fmt :: TimeLocale -> String defaultTimeLocale :: TimeLocale -- | Normally, ISO-8601 just defines YYYY-MM-DD but we can add a time spec. iso8601DateFormat :: Maybe String -> String rfc822DateFormat :: String instance [safe] Eq TimeLocale instance [safe] Ord TimeLocale instance [safe] Show TimeLocale