net.spy.util
Class TimeSpan

java.lang.Object
  extended by net.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
 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.

Overrides:
toString in class Object


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.