Class: SDL4R::TZAbbreviationDB::Record

Inherits:
Object
  • Object
show all
Defined in:
lib/sdl4r/tz_abbreviation_db.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#annotationObject

: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

#identifierObject (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_idsObject

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_offsetObject (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

#useObject (readonly)

Returns the value of attribute use.



56
57
58
# File 'lib/sdl4r/tz_abbreviation_db.rb', line 56

def use
  @use
end

#utc_offsetObject (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