# File lib/new_relic/agent/instrumentation/queue_time.rb, line 61 def parse_timestamp(string) DIVISORS.each do |divisor| begin t = Time.at(string.to_f / divisor) return t if t > EARLIEST_ACCEPTABLE_TIME rescue RangeError # On Ruby versions built with a 32-bit time_t, attempting to # instantiate a Time object in the far future raises a RangeError, # in which case we know we've chosen the wrong divisor. end end nil end