code: public double convert(double time, TimeUnit from, TimeUnit to) {
          return time * factorOf(to) / factorOf(from);
      }
docs: Converts the time to different scales
  
  @param time is the time to convert
  @param from is the units of the time to convert from
  @param to is the units of the time to convert to
  @return the time in the units specified