Class: SDL4R::TZAbbreviationDB::Record
- Inherits:
-
Object
- Object
- SDL4R::TZAbbreviationDB::Record
- Defined in:
- lib/sdl4r/tz_abbreviation_db.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#annotation ⇒ Object
:not_ambiguous :time_ambiguous :modern_time_ambiguous :too_ambiguous.
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
-
#linked_zone_ids ⇒ Object
Returns the value of attribute linked_zone_ids.
-
#std_offset ⇒ Object
readonly
Returns the value of attribute std_offset.
-
#use ⇒ Object
readonly
Returns the value of attribute use.
-
#utc_offset ⇒ Object
readonly
Returns the value of attribute utc_offset.
Instance Method Summary collapse
-
#initialize(identifier, utc_offset, std_offset, annotation, use, linked_zone_ids) ⇒ Record
constructor
A new instance of Record.
Constructor Details
#initialize(identifier, utc_offset, std_offset, annotation, use, linked_zone_ids) ⇒ Record
Returns a new instance of Record.
66 67 68 69 70 71 72 73 |
# File 'lib/sdl4r/tz_abbreviation_db.rb', line 66 def initialize(identifier, utc_offset, std_offset, annotation, use, linked_zone_ids) @identifier = identifier @utc_offset = utc_offset @std_offset = std_offset @annotation = annotation @use = use @linked_zone_ids = linked_zone_ids end |
Instance Attribute Details
#annotation ⇒ Object
:not_ambiguous :time_ambiguous :modern_time_ambiguous :too_ambiguous
64 65 66 |
# File 'lib/sdl4r/tz_abbreviation_db.rb', line 64 def annotation @annotation end |
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier.
56 57 58 |
# File 'lib/sdl4r/tz_abbreviation_db.rb', line 56 def identifier @identifier end |
#linked_zone_ids ⇒ Object
Returns the value of attribute linked_zone_ids.
57 58 59 |
# File 'lib/sdl4r/tz_abbreviation_db.rb', line 57 def linked_zone_ids @linked_zone_ids end |
#std_offset ⇒ Object (readonly)
Returns the value of attribute std_offset.
56 57 58 |
# File 'lib/sdl4r/tz_abbreviation_db.rb', line 56 def std_offset @std_offset end |
#use ⇒ Object (readonly)
Returns the value of attribute use.
56 57 58 |
# File 'lib/sdl4r/tz_abbreviation_db.rb', line 56 def use @use end |
#utc_offset ⇒ Object (readonly)
Returns the value of attribute utc_offset.
56 57 58 |
# File 'lib/sdl4r/tz_abbreviation_db.rb', line 56 def utc_offset @utc_offset end |