Class: Google::Type::TimeZone

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/type/datetime.rb

Overview

Represents a time zone from the IANA Time Zone Database.

Instance Attribute Summary collapse

Instance Attribute Details

#id::String

Returns IANA Time Zone Database time zone, e.g. "America/New_York".

Returns:

  • (::String)

    IANA Time Zone Database time zone, e.g. "America/New_York".



94
95
96
97
# File 'proto_docs/google/type/datetime.rb', line 94

class TimeZone
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#version::String

Returns Optional. IANA Time Zone Database version number, e.g. "2019a".

Returns:

  • (::String)

    Optional. IANA Time Zone Database version number, e.g. "2019a".



94
95
96
97
# File 'proto_docs/google/type/datetime.rb', line 94

class TimeZone
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end