Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- fuzzyZonedTimeP :: Parser FuzzyZonedTime
- fuzzyLocalTimeP :: Parser FuzzyLocalTime
- fuzzyTimeOfDayP :: Parser FuzzyTimeOfDay
- atHourP :: Parser FuzzyTimeOfDay
- atMinuteP :: Parser FuzzyTimeOfDay
- atExactP :: Parser FuzzyTimeOfDay
- hourSegmentP :: Parser Int
- minuteSegmentP :: Parser Int
- twoDigitsSegmentP :: Parser Int
- fuzzyDayP :: Parser FuzzyDay
- fuzzyDayOfTheWeekP :: Parser DayOfTheWeek
- type Parser = Parsec Void Text
Documentation
hourSegmentP :: Parser Int Source #
fuzzyDayP :: Parser FuzzyDay Source #
Can handle:
- yesterday
- now
- today
- tomorrow
- "%Y-%m-%d"
and all non-ambiguous prefixes
fuzzyDayOfTheWeekP :: Parser DayOfTheWeek Source #
Can handle:
- monday
- tuesday
- wednesday
- thursday
- friday
- saturday
- sunday
and all non-ambiguous prefixes