microformats2-parser-1.0.1.7: A Microformats 2 parser.

Safe HaskellSafe
LanguageHaskell2010

Data.Microformats2.Parser.Date

Documentation

data Date #

Constructors

Date Int Int Int 

Instances

Show Date # 

Methods

showsPrec :: Int -> Date -> ShowS #

show :: Date -> String #

showList :: [Date] -> ShowS #

data HourType #

Constructors

TwentyFourHour 
AMHour 
PMHour 

data Time #

Constructors

Time Int Int Int 

Instances

Show Time # 

Methods

showsPrec :: Int -> Time -> ShowS #

show :: Time -> String #

showList :: [Time] -> ShowS #

data DateTime #

Constructors

DateTime Date Time 

Instances

data ZoneType #

Constructors

Plus 
Minus 

data Zone #

Constructors

Zone ZoneType Int Int 

Instances

Show Zone # 

Methods

showsPrec :: Int -> Zone -> ShowS #

show :: Zone -> String #

showList :: [Zone] -> ShowS #

data TimeZone #

Constructors

TimeZone Time Zone 

Instances

parseDTParts :: (Traversable φ, MonoidDTPart)) => φ Text -> φ DTPart #