thyme-0.3.5.5: A faster time library

Safe HaskellNone
LanguageHaskell2010

Data.Thyme.Format

Contents

Synopsis

Documentation

class FormatTime t where Source #

Minimal complete definition

showsTime

Methods

showsTime :: TimeLocale -> t -> (Char -> ShowS) -> Char -> ShowS Source #

Instances

FormatTime MondayWeek Source # 
FormatTime SundayWeek Source # 
FormatTime WeekDate Source # 

Methods

showsTime :: TimeLocale -> WeekDate -> (Char -> ShowS) -> Char -> ShowS Source #

FormatTime MonthDay Source # 

Methods

showsTime :: TimeLocale -> MonthDay -> (Char -> ShowS) -> Char -> ShowS Source #

FormatTime OrdinalDate Source # 
FormatTime YearMonthDay Source # 
FormatTime Day Source # 

Methods

showsTime :: TimeLocale -> Day -> (Char -> ShowS) -> Char -> ShowS Source #

FormatTime UniversalTime Source # 
FormatTime UTCTime Source # 

Methods

showsTime :: TimeLocale -> UTCTime -> (Char -> ShowS) -> Char -> ShowS Source #

FormatTime TimeOfDay Source # 
FormatTime TimeZone Source # 

Methods

showsTime :: TimeLocale -> TimeZone -> (Char -> ShowS) -> Char -> ShowS Source #

FormatTime LocalTime Source # 
FormatTime ZonedTime Source # 
FormatTime AbsoluteTime Source # 
FormatTime DotNetTime Source # 

timeParser :: TimeLocale -> String -> Parser TimeParse Source #

Time Parser for UTF-8 encoded ByteStrings.

Attoparsec easily beats any String parser out there, but we do have to be careful to convert the input to UTF-8 ByteStrings.

Orphan instances