DESY ACOP Beans Home
com.cosylab.util
Class DateSpan
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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.