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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-locationservice/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.

Returns:

  • (String)


5145
5146
5147
5148
5149
5150
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5145

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

#offsetInteger

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

Returns:

  • (Integer)


5145
5146
5147
5148
5149
5150
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 5145

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