themoviedb-1.1.0.0: Haskell API bindings for http://themoviedb.org
Network.API.TheMovieDB.Internal.Date
Description
Utility type for working with release dates.
Synopsis
newtype Date Source
A simple type wrapper around Day in order to parse a movie's release date, which may be null or empty.
Day
Constructors
Fields
Instances
Parse release dates in JSON.
parseDay :: Object -> Text -> Parser (Maybe Day) Source
Aeson helper function to parse dates in TheMovieDB API.
(.::) :: Object -> Text -> Parser (Maybe Day) Source