org.rcfaces.core.lang
Class Period

java.lang.Object
  extended by org.rcfaces.core.lang.DefaultAdaptable
      extended by org.rcfaces.core.lang.Period
All Implemented Interfaces:
Serializable, Comparable, IAdaptable

public class Period
extends DefaultAdaptable
implements Serializable, Comparable

Version:
$Revision: 1.2 $ $Date: 2007/05/24 12:26:17 $
Author:
Olivier Oeuillot (latest modification by $Author: oeuillot $)
See Also:
Serialized Form

Constructor Summary
Period(Date start, Date end)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 Date getEnd()
           
 Date getStart()
           
 int hashCode()
           
 
Methods inherited from class org.rcfaces.core.lang.DefaultAdaptable
getAdapter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Period

public Period(Date start,
              Date end)
Method Detail

getEnd

public final Date getEnd()

getStart

public final Date getStart()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2006-2011 Vedana. All Rights Reserved.