Here you can find the source of toSeconds(long milliseconds)
Parameter | Description |
---|---|
milliseconds | a parameter |
private static long toSeconds(long milliseconds)
//package com.java2s; //License from project: Apache License public class Main { /**// w w w . j a va2 s .co m * This method strips milliseconds and returns seconds. * * @param milliseconds * @return */ private static long toSeconds(long milliseconds) { return milliseconds / 1000; } }