duckling-0.1.5.0: A Haskell library for parsing text into structured data.

Safe HaskellNone
LanguageHaskell2010

Duckling.Time.Helpers

Synopsis

Documentation

weekday :: TimeData Source #

Note that this function is not the counterpart of weekend. weekend returns an interval while weekday returns a single day.

tt :: TimeData -> Maybe Token Source #

Convenience helper to return a time token from a rule