Here you can find the source of sleepSeconds(long seconds)
public static void sleepSeconds(long seconds)
//package com.java2s; //License from project: Open Source License public class Main { public static final long ONE_SECOND = 1000l; public static void sleepSeconds(long seconds) { sleepMillis(ONE_SECOND * seconds); }// w w w. j ava 2 s . c o m public static void sleepMillis(long millis) { try { Thread.sleep(millis); } catch (InterruptedException e) { // ignore } } }