Hoogle Search

Within Stackage Nightly 2025-10-07 (ghc-9.12.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. swizzleSet :: String -> String -> DecsQ

    swizzle-set Data.SwizzleSet.TH

    No documentation available.

  2. parseTimeOfDay :: Text -> Either String TimeOfDay

    text-iso8601 Data.Time.FromText

    Parse a time of the form HH:MM[:SS[.SSS]].

  3. parseTimeZone :: Text -> Either String TimeZone

    text-iso8601 Data.Time.FromText

    Parse a time zone. The accepted formats are Z, +HH, +HHMM, or +HH:MM. (+ can be -). Accepts -23:59..23:59 range, i.e. HH < 24 and MM < 59. (This is consistent with grammar, and with what Python, Clojure, joda-time do).

  4. parseTAIUTCDAT :: ByteString -> Either String TAIUTCMap

    thyme Data.Thyme.Clock.TAI

    No documentation available.

  5. parseTAIUTCRow :: Parser (UTCTime, TAIUTCRow)

    thyme Data.Thyme.Clock.TAI

    attoparsec Parser for a single line of tai-utc.dat. Returns the starting UTCTime and the normalised TAIUTCRow.

  6. class ParseTime t

    thyme Data.Thyme.Format

    All instances of this class may be parsed by parseTime, readTime, and readsTime.

  7. parseTime :: ParseTime t => TimeLocale -> String -> String -> Maybe t

    thyme Data.Thyme.Format

    Parse a string as a ParseTime instance value. Return Nothing if parsing fails.

    Examples

    ISO 8601

    > parseTime defaultTimeLocale "%Y-%m-%dT%H:%M:%S%N" "2015-01-15T12:34:56+00:00" :: Maybe UTCTime
    Just 2015-01-15 12:34:56 UTC
    
    > parseTime defaultTimeLocale "%Y-%m-%dT%H:%M:%S%N" "2015-01-15T12:34:56-12:00" :: Maybe UTCTime
    Just 2015-01-16 00:34:56 UTC
    

    YYYY-MM-DD hh:mm:ss.0

    > parseTime defaultTimeLocale "%Y-%m-%d %H:%M:%S%Q" "2015-01-15 12:34:56.78" :: Maybe UTCTime
    Just 2015-01-15 12:34:56.78 UTC
    

  8. timeZoneOffsetString :: TimeZone -> String

    thyme Data.Thyme.LocalTime

    Text representing the offset of this timezone, e.g. "-0800" or "+0400" (like %z in formatTime)

  9. timeZoneOffsetStringColon :: TimeZone -> String

    thyme Data.Thyme.LocalTime

    Text representing the offset of this timezone in ISO 8601 style, e.g. "-08:00" or "+04:00" (like %N in formatTime)

  10. Format_Tz_Offset :: TimeFormatElem

    time-hourglass Data.Hourglass

    Timezone offset in minutes (for example, 120, +120 or -120).

Page 140 of many | Previous | Next