Class: TD::Types::TimeZone
- Defined in:
- lib/tdlib/types/time_zone.rb
Overview
Describes a time zone.
Instance Attribute Summary collapse
-
#id ⇒ TD::Types::String
Unique time zone identifier.
-
#name ⇒ TD::Types::String
Time zone name.
-
#utc_time_offset ⇒ Integer
Current UTC time offset for the time zone.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ TD::Types::String
Unique time zone identifier.
7 8 9 |
# File 'lib/tdlib/types/time_zone.rb', line 7 def id @id end |
#name ⇒ TD::Types::String
Time zone name.
7 8 9 |
# File 'lib/tdlib/types/time_zone.rb', line 7 def name @name end |
#utc_time_offset ⇒ Integer
Current UTC time offset for the time zone.
7 8 9 |
# File 'lib/tdlib/types/time_zone.rb', line 7 def utc_time_offset @utc_time_offset end |