code: public static Sample ofTimeDouble(long time, double numericValue) {
          return new Sample(time, null, null, null)
                  .setNumericValueFromDouble(numericValue);
      }
docs: Creates a new {@link Sample} with time and double value specified
  
  @param  time         time in milliseconds from 1970-01-01 00:00:00
  @param  numericValue the numeric value of the sample
  @return the Sample with specified fields