Safe Haskell | None |
---|
Time parsers.
Text.Matchers allows you to perform matching based on times. Times are parsed using the parsers in this module.
- year :: Parser Integer
- month :: Parser Int
- day :: Parser Int
- pDate :: Parser Day
- dateSep :: Char -> Bool
- digit :: Char -> Bool
- colon :: Char -> Bool
- hours :: Parser Int
- minutes :: Parser Int
- seconds :: Parser Pico
- time :: Parser TimeOfDay
- tzSign :: Parser (Int -> Int)
- tzNumber :: Parser Int
- timeZone :: Parser TimeZone
- white :: Char -> Bool
- timeWithZone :: Parser (TimeOfDay, Maybe TimeZone)
- dateTime :: Parser UTCTime
Documentation
A valid Gregorian day, in YYYY-MM-DD format. Each separator may be a hyphen or a slash. Fails if the day is not valid.
Two digits for the minutes (exactly two digits). Must be between 0 and 59.
Two digits for seconds (exactly two digits). Must be between 0 and 59; there are no leap seconds.