Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 6e204a966e8c42d976f99a1700ce5f20 > files > 4045

ghc-7.4.2-4.mga5.i586.rpm

-- 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