Class: HQMF2::EffectiveTime

Inherits:
Range
  • Object
show all
Defined in:
lib/hqmf-parser/2.0/types.rb

Overview

Represents an HQMF effective time which is a specialization of an interval

Instance Attribute Summary

Attributes inherited from Range

#high, #low, #width

Instance Method Summary collapse

Methods inherited from Range

#generate_any_value?, #generate_value?, #to_model

Methods included from Utilities

#attr_val, attr_val, #strip_tokens, #to_xml

Methods included from HQMF::Conversion::Utilities

#build_hash, #check_equality, #json_array, #openstruct_to_json

Constructor Details

#initialize(entry) ⇒ EffectiveTime

Returns a new instance of EffectiveTime.



203
204
205
# File 'lib/hqmf-parser/2.0/types.rb', line 203

def initialize(entry)
  super
end

Instance Method Details

#typeObject



207
208
209
# File 'lib/hqmf-parser/2.0/types.rb', line 207

def type
  'IVL_TS'
end