DESY ACOP Beans Home

com.cosylab.util
Class DateSpan

java.lang.Object
  extended by com.cosylab.util.DateSpan

public class DateSpan
extends java.lang.Object

Version:
$id$
Author:
Jernej Kamenik

Constructor Summary
DateSpan(java.util.Date startingDate, java.util.Date finishingDate)
          Constructor for DateSpan.
DateSpan(java.util.Date startingDate, long duration)
          Constructor for DateSpan.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Date getFinishingDate()
           
 java.util.Date getStartingDate()
           
 long getTimeSpan()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateSpan

public DateSpan(java.util.Date startingDate,
                java.util.Date finishingDate)
Constructor for DateSpan.


DateSpan

public DateSpan(java.util.Date startingDate,
                long duration)
Constructor for DateSpan.

Method Detail

getStartingDate

public java.util.Date getStartingDate()

getFinishingDate

public java.util.Date getFinishingDate()

getTimeSpan

public long getTimeSpan()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010. All Rights Reserved.