org.deegree.commons.tom.datetime
Class Time

java.lang.Object
  extended by 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 $

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

Constructor Detail

Time

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

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.