amazonka-core-1.6.1: Core data types and functionality for Amazonka libraries.

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

Network.AWS.Data.Time

Contents

Description

 
Synopsis

Time

data Format Source #

Instances
Eq Format Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

(==) :: Format -> Format -> Bool #

(/=) :: Format -> Format -> Bool #

Data Format Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

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

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

toConstr :: Format -> Constr #

dataTypeOf :: Format -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Format Source # 
Instance details

Defined in Network.AWS.Data.Time

Show Format Source # 
Instance details

Defined in Network.AWS.Data.Time

Generic Format Source # 
Instance details

Defined in Network.AWS.Data.Time

Associated Types

type Rep Format :: Type -> Type #

Methods

from :: Format -> Rep Format x #

to :: Rep Format x -> Format #

type Rep Format Source # 
Instance details

Defined in Network.AWS.Data.Time

type Rep Format = D1 (MetaData "Format" "Network.AWS.Data.Time" "amazonka-core-1.6.1-FZORvxk9gh76fGemhSgXQL" False) ((C1 (MetaCons "RFC822Format" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ISO8601Format" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "BasicFormat" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AWSFormat" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "POSIXFormat" PrefixI False) (U1 :: Type -> Type))))

newtype Time (a :: Format) Source #

Constructors

Time 

Fields

Instances
ToJSON POSIX Source # 
Instance details

Defined in Network.AWS.Data.Time

ToJSON AWSTime Source # 
Instance details

Defined in Network.AWS.Data.Time

ToJSON BasicTime Source # 
Instance details

Defined in Network.AWS.Data.Time

ToJSON ISO8601 Source # 
Instance details

Defined in Network.AWS.Data.Time

ToJSON RFC822 Source # 
Instance details

Defined in Network.AWS.Data.Time

FromJSON POSIX Source # 
Instance details

Defined in Network.AWS.Data.Time

FromJSON AWSTime Source # 
Instance details

Defined in Network.AWS.Data.Time

FromJSON BasicTime Source # 
Instance details

Defined in Network.AWS.Data.Time

FromJSON ISO8601 Source # 
Instance details

Defined in Network.AWS.Data.Time

FromJSON RFC822 Source # 
Instance details

Defined in Network.AWS.Data.Time

ToText POSIX Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

toText :: POSIX -> Text Source #

ToText AWSTime Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

toText :: AWSTime -> Text Source #

ToText BasicTime Source # 
Instance details

Defined in Network.AWS.Data.Time

ToText ISO8601 Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

toText :: ISO8601 -> Text Source #

ToText RFC822 Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

toText :: RFC822 -> Text Source #

FromText POSIX Source # 
Instance details

Defined in Network.AWS.Data.Time

FromText AWSTime Source # 
Instance details

Defined in Network.AWS.Data.Time

FromText BasicTime Source # 
Instance details

Defined in Network.AWS.Data.Time

FromText ISO8601 Source # 
Instance details

Defined in Network.AWS.Data.Time

FromText RFC822 Source # 
Instance details

Defined in Network.AWS.Data.Time

ToByteString AWSTime Source # 
Instance details

Defined in Network.AWS.Data.Time

ToByteString BasicTime Source # 
Instance details

Defined in Network.AWS.Data.Time

ToByteString ISO8601 Source # 
Instance details

Defined in Network.AWS.Data.Time

ToByteString RFC822 Source # 
Instance details

Defined in Network.AWS.Data.Time

ToQuery POSIX Source # 
Instance details

Defined in Network.AWS.Data.Time

ToQuery AWSTime Source # 
Instance details

Defined in Network.AWS.Data.Time

ToQuery BasicTime Source # 
Instance details

Defined in Network.AWS.Data.Time

ToQuery ISO8601 Source # 
Instance details

Defined in Network.AWS.Data.Time

ToQuery RFC822 Source # 
Instance details

Defined in Network.AWS.Data.Time

ToXML AWSTime Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

toXML :: AWSTime -> XML Source #

ToXML BasicTime Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

toXML :: BasicTime -> XML Source #

ToXML ISO8601 Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

toXML :: ISO8601 -> XML Source #

ToXML RFC822 Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

toXML :: RFC822 -> XML Source #

FromXML AWSTime Source # 
Instance details

Defined in Network.AWS.Data.Time

FromXML BasicTime Source # 
Instance details

Defined in Network.AWS.Data.Time

FromXML ISO8601 Source # 
Instance details

Defined in Network.AWS.Data.Time

FromXML RFC822 Source # 
Instance details

Defined in Network.AWS.Data.Time

Eq (Time a) Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

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

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

Typeable a => Data (Time a) Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

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

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

toConstr :: Time a -> Constr #

dataTypeOf :: Time a -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord (Time a) Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

compare :: Time a -> Time a -> Ordering #

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

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

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

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

max :: Time a -> Time a -> Time a #

min :: Time a -> Time a -> Time a #

Read (Time a) Source # 
Instance details

Defined in Network.AWS.Data.Time

Show (Time a) Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

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

show :: Time a -> String #

showList :: [Time a] -> ShowS #

Generic (Time a) Source # 
Instance details

Defined in Network.AWS.Data.Time

Associated Types

type Rep (Time a) :: Type -> Type #

Methods

from :: Time a -> Rep (Time a) x #

to :: Rep (Time a) x -> Time a #

Hashable (Time a) Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

hashWithSalt :: Int -> Time a -> Int #

hash :: Time a -> Int #

NFData (Time a) Source # 
Instance details

Defined in Network.AWS.Data.Time

Methods

rnf :: Time a -> () #

type Rep (Time a) Source # 
Instance details

Defined in Network.AWS.Data.Time

type Rep (Time a) = D1 (MetaData "Time" "Network.AWS.Data.Time" "amazonka-core-1.6.1-FZORvxk9gh76fGemhSgXQL" True) (C1 (MetaCons "Time" PrefixI True) (S1 (MetaSel (Just "fromTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UTCTime)))

Formats

data UTCTime #

This is the simplest representation of UTC. It consists of the day number, and a time offset from midnight. Note that if a day has a leap second added to it, it will have 86401 seconds.

Instances
Eq UTCTime 
Instance details

Defined in Data.Time.Clock.Internal.UTCTime

Methods

(==) :: UTCTime -> UTCTime -> Bool #

(/=) :: UTCTime -> UTCTime -> Bool #

Data UTCTime 
Instance details

Defined in Data.Time.Clock.Internal.UTCTime

Methods

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

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

toConstr :: UTCTime -> Constr #

dataTypeOf :: UTCTime -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord UTCTime 
Instance details

Defined in Data.Time.Clock.Internal.UTCTime

ToJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSONKey UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

FromJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

NFData UTCTime 
Instance details

Defined in Data.Time.Clock.Internal.UTCTime

Methods

rnf :: UTCTime -> () #

FormatTime UTCTime 
Instance details

Defined in Data.Time.Format

ParseTime UTCTime 
Instance details

Defined in Data.Time.Format.Parse

ToByteString UTCTime Source # 
Instance details

Defined in Network.AWS.Data.ByteString

ToLog UTCTime Source # 
Instance details

Defined in Network.AWS.Data.Log