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)


6435
6436
6437
6438
6439
6440
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6435

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

#offsetInteger

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

Returns:

  • (Integer)


6435
6436
6437
6438
6439
6440
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6435

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