Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Time
Instances
Eq Format Source # | |
Data Format Source # | |
Defined in Network.AWS.Data.Time 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 # | |
Show Format Source # | |
Generic Format Source # | |
type Rep Format Source # | |
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 #
Instances
Formats
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
type RFC822 = Time RFC822Format Source #
type ISO8601 = Time ISO8601Format Source #
type BasicTime = Time BasicFormat Source #
type POSIX = Time POSIXFormat Source #