com.groiss.gui.component
Class ColoredDate

java.lang.Object
  extended by com.groiss.gui.component.ColoredDate
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class ColoredDate
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

Class for sorting colored dates.

See Also:
Serialized Form

Field Summary
protected  java.util.Date date
           
 
Constructor Summary
ColoredDate(java.util.Date d)
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 java.util.Date getDate()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

date

protected java.util.Date date
Constructor Detail

ColoredDate

public ColoredDate(java.util.Date d)
Method Detail

toString

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

compareTo

public int compareTo(java.lang.Object other)
Specified by:
compareTo in interface java.lang.Comparable

getDate

public java.util.Date getDate()


Copyright © 2001-2006 Groiss Informatics GmbH. All Rights Reserved.