Here you can find the source of seconds(int seconds)
static long seconds(int seconds)
//package com.java2s; //License from project: Open Source License public class Main { static final long ONE_SECOND_IN_MILLIS = 1000; static long seconds(int seconds) { return seconds * ONE_SECOND_IN_MILLIS; }//from w ww .j ava2 s. com }