HQu-0.0.0.3: quantitative finance library
Safe HaskellNone
LanguageHaskell2010

Q.Time

Synopsis

Documentation

parseDay :: String -> Maybe Day Source #

Converts a shortned ISO08601 date to a Day

parseLocalTime :: String -> Maybe LocalTime Source #

Converts a shortened ISO08601 date string, or datetime to a LocalTime. If the string doesn't contain time then midnight is used.

Orphan instances

FromField Day Source # 
Instance details

Methods

parseField :: Field -> Parser Day #

ToField Day Source # 
Instance details

Methods

toField :: Day -> Field #