gogol-core-0.2.0: Core data types and functionality for Gogol libraries.

Copyright(c) 2015-2016 Brendan Hay <brendan.g.hay@gmail.com>
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Data.Time

Description

 

Synopsis

Documentation

data Time' Source #

This SHOULD be a time in the format of hh:mm:ss. It is recommended that you use the "date-time" format instead of "time" unless you need to transfer only the time part.

Instances

Eq Time' Source # 

Methods

(==) :: Time' -> Time' -> Bool #

(/=) :: Time' -> Time' -> Bool #

Data Time' Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Time' -> c Time' #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Time' #

toConstr :: Time' -> Constr #

dataTypeOf :: Time' -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Time') #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Time') #

gmapT :: (forall b. Data b => b -> b) -> Time' -> Time' #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Time' -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Time' -> r #

gmapQ :: (forall d. Data d => d -> u) -> Time' -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Time' -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Time' -> m Time' #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Time' -> m Time' #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Time' -> m Time' #

Ord Time' Source # 

Methods

compare :: Time' -> Time' -> Ordering #

(<) :: Time' -> Time' -> Bool #

(<=) :: Time' -> Time' -> Bool #

(>) :: Time' -> Time' -> Bool #

(>=) :: Time' -> Time' -> Bool #

max :: Time' -> Time' -> Time' #

min :: Time' -> Time' -> Time' #

Read Time' Source # 
Show Time' Source # 

Methods

showsPrec :: Int -> Time' -> ShowS #

show :: Time' -> String #

showList :: [Time'] -> ShowS #

Generic Time' Source # 

Associated Types

type Rep Time' :: * -> * #

Methods

from :: Time' -> Rep Time' x #

to :: Rep Time' x -> Time' #

ToJSON Time' Source # 
FromJSON Time' Source # 
ToHttpApiData Time' Source # 
FromHttpApiData Time' Source # 
type Rep Time' Source # 
type Rep Time' = D1 (MetaData "Time'" "Network.Google.Data.Time" "gogol-core-0.2.0-FcHG2RCClbd28lvEIaUzGP" True) (C1 (MetaCons "Time'" PrefixI True) (S1 (MetaSel (Just Symbol "unTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TimeOfDay)))

data Date' Source #

This SHOULD be a date in the format of YYYY-MM-DD. It is recommended that you use the "date-time" format instead of "date" unless you need to transfer only the date part.

Instances

Eq Date' Source # 

Methods

(==) :: Date' -> Date' -> Bool #

(/=) :: Date' -> Date' -> Bool #

Data Date' Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Date' -> c Date' #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Date' #

toConstr :: Date' -> Constr #

dataTypeOf :: Date' -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Date') #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Date') #

gmapT :: (forall b. Data b => b -> b) -> Date' -> Date' #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Date' -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Date' -> r #

gmapQ :: (forall d. Data d => d -> u) -> Date' -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Date' -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Date' -> m Date' #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Date' -> m Date' #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Date' -> m Date' #

Ord Date' Source # 

Methods

compare :: Date' -> Date' -> Ordering #

(<) :: Date' -> Date' -> Bool #

(<=) :: Date' -> Date' -> Bool #

(>) :: Date' -> Date' -> Bool #

(>=) :: Date' -> Date' -> Bool #

max :: Date' -> Date' -> Date' #

min :: Date' -> Date' -> Date' #

Read Date' Source # 
Show Date' Source # 

Methods

showsPrec :: Int -> Date' -> ShowS #

show :: Date' -> String #

showList :: [Date'] -> ShowS #

Generic Date' Source # 

Associated Types

type Rep Date' :: * -> * #

Methods

from :: Date' -> Rep Date' x #

to :: Rep Date' x -> Date' #

ToJSON Date' Source # 
FromJSON Date' Source # 
ToHttpApiData Date' Source # 
FromHttpApiData Date' Source # 
type Rep Date' Source # 
type Rep Date' = D1 (MetaData "Date'" "Network.Google.Data.Time" "gogol-core-0.2.0-FcHG2RCClbd28lvEIaUzGP" True) (C1 (MetaCons "Date'" PrefixI True) (S1 (MetaSel (Just Symbol "unDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Day)))

data DateTime' Source #

This SHOULD be a date in ISO 8601 format of YYYY-MM- DDThh:mm:ssZ in UTC time. This is the recommended form of date/timestamp.

Instances

Eq DateTime' Source # 
Data DateTime' Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DateTime' -> c DateTime' #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DateTime' #

toConstr :: DateTime' -> Constr #

dataTypeOf :: DateTime' -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DateTime') #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DateTime') #

gmapT :: (forall b. Data b => b -> b) -> DateTime' -> DateTime' #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DateTime' -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DateTime' -> r #

gmapQ :: (forall d. Data d => d -> u) -> DateTime' -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DateTime' -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DateTime' -> m DateTime' #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DateTime' -> m DateTime' #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DateTime' -> m DateTime' #

Ord DateTime' Source # 
Read DateTime' Source # 
Show DateTime' Source # 
Generic DateTime' Source # 

Associated Types

type Rep DateTime' :: * -> * #

ToJSON DateTime' Source # 
FromJSON DateTime' Source # 
ToHttpApiData DateTime' Source # 
FromHttpApiData DateTime' Source # 
type Rep DateTime' Source # 
type Rep DateTime' = D1 (MetaData "DateTime'" "Network.Google.Data.Time" "gogol-core-0.2.0-FcHG2RCClbd28lvEIaUzGP" True) (C1 (MetaCons "DateTime'" PrefixI True) (S1 (MetaSel (Just Symbol "unDateTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UTCTime)))

data Duration Source #

A duration in seconds with up to nine fractional digits, terminated by s.

Example: "3.5s".

Instances

Eq Duration Source # 
Data Duration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Duration -> c Duration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Duration #

toConstr :: Duration -> Constr #

dataTypeOf :: Duration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Duration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Duration) #

gmapT :: (forall b. Data b => b -> b) -> Duration -> Duration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Duration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Duration -> r #

gmapQ :: (forall d. Data d => d -> u) -> Duration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Duration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Duration -> m Duration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Duration -> m Duration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Duration -> m Duration #

Ord Duration Source # 
Read Duration Source # 
Show Duration Source # 
Generic Duration Source # 

Associated Types

type Rep Duration :: * -> * #

Methods

from :: Duration -> Rep Duration x #

to :: Rep Duration x -> Duration #

ToJSON Duration Source # 
FromJSON Duration Source # 
ToHttpApiData Duration Source # 
FromHttpApiData Duration Source # 
type Rep Duration Source # 
type Rep Duration = D1 (MetaData "Duration" "Network.Google.Data.Time" "gogol-core-0.2.0-FcHG2RCClbd28lvEIaUzGP" True) (C1 (MetaCons "Duration" PrefixI True) (S1 (MetaSel (Just Symbol "unDuration") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Scientific)))