nl.knmi.orfeus.seedlink
Class Util

java.lang.Object
  extended by nl.knmi.orfeus.seedlink.Util

public class Util
extends java.lang.Object

Class of SeedLink utility methods.


Method Summary
static double getCurrentTime()
          Returns the current system time.
static void sleep(long millis)
          Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCurrentTime

public static double getCurrentTime()
Returns the current system time.

Returns:
the number of seconds since January 1, 1970, 00:00:00 GMT represented by the current system time.

sleep

public static void sleep(long millis)
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.

Parameters:
millis - sleep time in milliseconds.