Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
Information about a time zone. Includes the name of the time zone and the offset from UTC in seconds.
See: newTimeZone
smart constructor.
Instances
FromJSON TimeZone Source # | |
Generic TimeZone Source # | |
Read TimeZone Source # | |
Show TimeZone Source # | |
NFData TimeZone Source # | |
Defined in Amazonka.Location.Types.TimeZone | |
Eq TimeZone Source # | |
Hashable TimeZone Source # | |
Defined in Amazonka.Location.Types.TimeZone | |
type Rep TimeZone Source # | |
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))) |
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_name :: Lens' TimeZone Text Source #
The name of the time zone, following the
IANA time zone standard. For example,
America/Los_Angeles
.