net.spy.util
Class TimeSpan

java.lang.Object
  extended by net.spy.util.TimeSpan

public class TimeSpan
extends java.lang.Object

Creates a representable timespan.


Constructor Summary
TimeSpan(java.util.Date from, java.util.Date to)
          Get an instance of TimeSpan representing the span between the given from and to dates.
 
Method Summary
 java.lang.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(java.util.Date from,
                java.util.Date to)
Get an instance of TimeSpan representing the span between the given from and to dates.

Method Detail

toString

public java.lang.String toString()
Print out the timespan.

Overrides:
toString in class java.lang.Object


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