amazonka-location-2.0: Amazon Location Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Location.Types.TimeZone

Description

 
Synopsis

Documentation

data TimeZone Source #

Information about a time zone. Includes the name of the time zone and the offset from UTC in seconds.

See: newTimeZone smart constructor.

Constructors

TimeZone' 

Fields

Instances

Instances details
FromJSON TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Generic TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Associated Types

type Rep TimeZone :: Type -> Type #

Methods

from :: TimeZone -> Rep TimeZone x #

to :: Rep TimeZone x -> TimeZone #

Read TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Show TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

NFData TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Methods

rnf :: TimeZone -> () #

Eq TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Hashable TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

Methods

hashWithSalt :: Int -> TimeZone -> Int #

hash :: TimeZone -> Int #

type Rep TimeZone Source # 
Instance details

Defined in Amazonka.Location.Types.TimeZone

type Rep TimeZone = D1 ('MetaData "TimeZone" "Amazonka.Location.Types.TimeZone" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "TimeZone'" 'PrefixI 'True) (S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTimeZone Source #

Create a value of TimeZone with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:offset:TimeZone', timeZone_offset - The time zone's offset, in seconds, from UTC.

$sel:name:TimeZone', timeZone_name - The name of the time zone, following the IANA time zone standard. For example, America/Los_Angeles.

timeZone_offset :: Lens' TimeZone (Maybe Int) Source #

The time zone's offset, in seconds, from UTC.

timeZone_name :: Lens' TimeZone Text Source #

The name of the time zone, following the IANA time zone standard. For example, America/Los_Angeles.