org.deegree.commons.tom.datetime
Class Time
java.lang.Object
org.deegree.commons.tom.datetime.Time
- All Implemented Interfaces:
- Comparable<Time>
public class Time
- extends Object
- implements Comparable<Time>
Represents an xs:time
instance.
- Version:
- $Revision: 31820 $, $Date: 2011-09-08 18:37:18 +0200 (Thu, 08 Sep 2011) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
Time
public Time(String isoDate)
throws ParseException
- Parameters:
isoDate
-
- Throws:
ParseException
compareTo
public int compareTo(Time o)
- Specified by:
compareTo
in interface Comparable<Time>
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
getDate
public Date getDate()
- Returns:
- the actual Date value
Copyright © 2011. All Rights Reserved.