org.deegree.commons.tom.datetime
Class DateTime
java.lang.Object
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 $
DateTime
public DateTime(String isoDate)
throws ParseException
- Parameters:
isoDate
-
- Throws:
ParseException
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.