code: public static BigDecimal bigDecimalFrom(double otherTime, int timeScale)
      {
          TimeScaleData data     = getTimeScaleData(timeScale);
          BigDecimal other       = new BigDecimal(String.valueOf(otherTime));
          BigDecimal units       = new BigDecimal(data.units);
          BigDecimal epochOffset = new BigDecimal(data.epochOffset);
          
          return other.add(epochOffset).multiply(units);
      }
docs: Convert a <code>double</code> datetime from the given time scale to the universal time scale.
  All calculations are done using <code>BigDecimal</code> to guarantee that the value
  does not go out of range.
  
  @param otherTime The <code>double</code> datetime
  @param timeScale The time scale to convert from
  
  @return The datetime converted to the universal time scale