def time_multiplier(suffix)
      u = { s: 1, m: 60, h: 3600, d: 86_400, w: 604_800, y: 31_536_000 }

      return u[suffix.to_sym] if u.key?(suffix.to_sym)
      raise Wavefront::Exception::InvalidTimeUnit
    end
def time_multiplier(suffix)
      u = { s: 1, m: 60, h: 3600, d: 86_400, w: 604_800, y: 31_536_000 }

      return u[suffix.to_sym] if u.key?(suffix.to_sym)
      raise Wavefront::Exception::InvalidTimeUnit
    end
naively return the number of seconds from the given
 multiplier. This makes absolutely no attempt to compensate for
 any kind of daylight savings or calendar adjustment. A day is
 always going to 60 seconds x 60 minutes x 24 hours, and a
 year will always have 365 days.

 @param suffix [Symbol, String]
 @return [Integer] the number of seconds in one unit of the
   given suffix
 @raise InvalidTimeUnit if the suffix is unknown