org.deegree.commons.tom.datetime
Class DateTime

java.lang.Object
  extended by org.deegree.commons.tom.datetime.DateTime
All Implemented Interfaces:
Comparable<DateTime>

public class DateTime
extends Object
implements Comparable<DateTime>

Represents an xs:dateTime instance.

Version:
$Revision: 26827 $, $Date: 2010-09-16 21:01:46 +0200 (Thu, 16 Sep 2010) $
Author:
Markus Schneider, last edited by: $Author: aschmitz $

Constructor Summary
DateTime(String isoDate)
           
 
Method Summary
 int compareTo(DateTime o)
           
 boolean equals(Object o)
           
 Date getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateTime

public DateTime(String isoDate)
         throws ParseException
Parameters:
isoDate -
Throws:
ParseException
Method Detail

compareTo

public int compareTo(DateTime o)
Specified by:
compareTo in interface Comparable<DateTime>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getValue

public Date getValue()
Returns:
the actual Date value


Copyright © 2011. All Rights Reserved.