org.jscience.net.ntp
Class LocalTimeManager

java.lang.Object
  extended by org.jscience.net.ntp.TimeManager
      extended by org.jscience.net.ntp.LocalTimeManager

public class LocalTimeManager
extends TimeManager

This class implements TimeManager.setTime(Date) through a native method under Windows 95 (this will presumably also work under NT, if you have the correct permissions).


Constructor Summary
LocalTimeManager()
           
 
Method Summary
 void setTime(java.util.Date d)
          Sets the local time to a given date.
 
Methods inherited from class org.jscience.net.ntp.TimeManager
dispose, finalize, getInstance, setTime
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalTimeManager

public LocalTimeManager()
Method Detail

setTime

public void setTime(java.util.Date d)
Sets the local time to a given date. For this method to work settime.dll should be in the library loadpath (for example in "c:\windows")

Specified by:
setTime in class TimeManager
Parameters:
d - DOCUMENT ME!