Class: Aws::LocationService::Types::TimeZone

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-locationservice/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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

[1]: www.iana.org/time-zones

Returns:

  • (String)


6437
6438
6439
6440
6441
6442
# File 'lib/aws-sdk-locationservice/types.rb', line 6437

class TimeZone < Struct.new(
  :name,
  :offset)
  SENSITIVE = []
  include Aws::Structure
end

#offsetInteger

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

Returns:

  • (Integer)


6437
6438
6439
6440
6441
6442
# File 'lib/aws-sdk-locationservice/types.rb', line 6437

class TimeZone < Struct.new(
  :name,
  :offset)
  SENSITIVE = []
  include Aws::Structure
end