gogol-core-0.4.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 # 
Instance details

Defined in Network.Google.Data.Time

Methods

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

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

Data Time' Source # 
Instance details

Defined in Network.Google.Data.Time

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 # 
Instance details

Defined in Network.Google.Data.Time

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 # 
Instance details

Defined in Network.Google.Data.Time

Show Time' Source # 
Instance details

Defined in Network.Google.Data.Time

Methods

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

show :: Time' -> String #

showList :: [Time'] -> ShowS #

Generic Time' Source # 
Instance details

Defined in Network.Google.Data.Time

Associated Types

type Rep Time' :: Type -> Type #

Methods

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

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

ToJSON Time' Source # 
Instance details

Defined in Network.Google.Data.Time

FromJSON Time' Source # 
Instance details

Defined in Network.Google.Data.Time

ToHttpApiData Time' Source # 
Instance details

Defined in Network.Google.Data.Time

FromHttpApiData Time' Source # 
Instance details

Defined in Network.Google.Data.Time

type Rep Time' Source # 
Instance details

Defined in Network.Google.Data.Time

type Rep Time' = D1 (MetaData "Time'" "Network.Google.Data.Time" "gogol-core-0.4.0-G4Dw8paiz1K5bZSvPti4JM" True) (C1 (MetaCons "Time'" PrefixI True) (S1 (MetaSel (Just "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 # 
Instance details

Defined in Network.Google.Data.Time

Methods

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

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

Data Date' Source # 
Instance details

Defined in Network.Google.Data.Time

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 # 
Instance details

Defined in Network.Google.Data.Time

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 # 
Instance details

Defined in Network.Google.Data.Time

Show Date' Source # 
Instance details

Defined in Network.Google.Data.Time

Methods

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

show :: Date' -> String #

showList :: [Date'] -> ShowS #

Generic Date' Source # 
Instance details

Defined in Network.Google.Data.Time

Associated Types

type Rep Date' :: Type -> Type #

Methods

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

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

ToJSON Date' Source # 
Instance details

Defined in Network.Google.Data.Time

FromJSON Date' Source # 
Instance details

Defined in Network.Google.Data.Time

ToHttpApiData Date' Source # 
Instance details

Defined in Network.Google.Data.Time

FromHttpApiData Date' Source # 
Instance details

Defined in Network.Google.Data.Time

type Rep Date' Source # 
Instance details

Defined in Network.Google.Data.Time

type Rep Date' = D1 (MetaData "Date'" "Network.Google.Data.Time" "gogol-core-0.4.0-G4Dw8paiz1K5bZSvPti4JM" True) (C1 (MetaCons "Date'" PrefixI True) (S1 (MetaSel (Just "unDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Day)))

newtype 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.

Constructors

DateTime' 

Fields

Instances
Eq DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

Data DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

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 # 
Instance details

Defined in Network.Google.Data.Time

Read DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

Show DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

Generic DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

Associated Types

type Rep DateTime' :: Type -> Type #

ToJSON DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

FromJSON DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

ToHttpApiData DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

FromHttpApiData DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

type Rep DateTime' Source # 
Instance details

Defined in Network.Google.Data.Time

type Rep DateTime' = D1 (MetaData "DateTime'" "Network.Google.Data.Time" "gogol-core-0.4.0-G4Dw8paiz1K5bZSvPti4JM" True) (C1 (MetaCons "DateTime'" PrefixI True) (S1 (MetaSel (Just "unDateTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UTCTime)))

data GDuration Source #

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

Example: "3.5s".

Instances
Eq GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

Data GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

Methods

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

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

toConstr :: GDuration -> Constr #

dataTypeOf :: GDuration -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

Read GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

Show GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

Generic GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

Associated Types

type Rep GDuration :: Type -> Type #

ToJSON GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

FromJSON GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

ToHttpApiData GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

FromHttpApiData GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

type Rep GDuration Source # 
Instance details

Defined in Network.Google.Data.Time

type Rep GDuration = D1 (MetaData "GDuration" "Network.Google.Data.Time" "gogol-core-0.4.0-G4Dw8paiz1K5bZSvPti4JM" True) (C1 (MetaCons "GDuration" PrefixI True) (S1 (MetaSel (Just "unGDuration") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Scientific)))