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)


6116
6117
6118
6119
6120
6121
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6116

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

#offsetInteger

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

Returns:

  • (Integer)


6116
6117
6118
6119
6120
6121
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6116

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