Here you can find the source of nanoSeconds(long millis)
public static long nanoSeconds(long millis)
//package com.java2s; //License from project: Open Source License public class Main { public static long nanoSeconds(long millis) { return millis * 1000000; }//from w ww. j av a 2 s . c o m }