About:

Welcome! AtomicDate is an implementation of the Simple Network Time Protocol (SNTP), written in the Java programming language. The framework enables the developer to easily write SNTP client and server components, that can be used in plain Java applications or J2EE environments.

News:

2004/01/12 - version 0.1 released.
2004/10/24 - the web site starts to look nice.
2008/04/06 - version 0.9 released.
2009/02/18 - version 1.0 released!

Downloads:

Check the project
download page or build directly from CVS.

Documentation:

The place to start is the API Javadoc pages, that you can find in the downloads.
The simplest way is to use net.sourceforge.atomicdate.Date, which is an extension
to java.util.Date. For example:

import net.sourceforge.atomicdate.Date;
(...)
// The default constructor automatically synchronizes with the default server.
final Date date=new Date();
(...)
// The date can be synchronized anytime.
date.synchronize("my.timeserver.com");
(...)
// You can explicitly release the resources. If you don't, they'll be released
// when the object is garbage collected.
date.close();

Links:

AtomicDate SourceForge page.
Internet Engineering Task Force.

Contact:

If you have questions or want to contribute in any way, you can contact me
here.