# File lib/eml.rb, line 109 def temporal_coverage beginDates = endDates = Array.new() path = "dataset/coverage/temporalCoverage/rangeOfDates" @doc.root.elements.each(path){ |range| beginDates.push( Date.strptime(range.elements["beginDate"].elements[1].text) ) endDates.push( Date.strptime(range.elements["endDate"].elements[1].text) ) } return beginDates.min, endDates.max end