net.spy.util
Class TimeSpan

java.lang.Object
  extended bynet.spy.util.TimeSpan

public class TimeSpan
extends Object

Creates a representable timespan.


Constructor Summary
TimeSpan(Date from, Date to)
          Get an instance of TimeSpan representing the span between the given from and to dates.
 
Method Summary
static void main(String[] args)
          Testing and what not.
 String toString()
          Print out the timespan.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeSpan

public TimeSpan(Date from,
                Date to)
Get an instance of TimeSpan representing the span between the given from and to dates.

Method Detail

toString

public String toString()
Print out the timespan.


main

public static void main(String[] args)
                 throws Exception
Testing and what not.

Throws:
Exception