Here you can find the source of asNanoSeconds(long seconds)
public static long asNanoSeconds(long seconds)
//package com.java2s; //License from project: LGPL public class Main { private static final long MICROSECONDS_TO_UNIX_EPOCH_FROM_WINDOWS = 11644473600000000L; public static long asNanoSeconds(long seconds) { return (seconds * 1000 + MICROSECONDS_TO_UNIX_EPOCH_FROM_WINDOWS) * 10; }//from www .j a v a 2s . c o m }