Here you can find the source of toJavaTime(double time)
Parameter | Description |
---|---|
time | Hydra standard time |
public static long toJavaTime(double time)
//package com.java2s; //License from project: Open Source License public class Main { /**/* w w w. ja v a 2 s .com*/ * Convert from Hydra time in seconds since the epoch as * a double to Java standard time in milliseconds since the * epoch as a long. * * @param time Hydra standard time * @return Java standard time */ public static long toJavaTime(double time) { return (long) (1000d * time); } }