org.deegree.protocol.sos.time
Class TimeInstant
java.lang.Object
org.deegree.protocol.sos.time.TimeInstant
- All Implemented Interfaces:
- SamplingTime
public class TimeInstant
- extends Object
- implements SamplingTime
This class stores a single time.
A TimeInstant
object is immutable.
- Version:
- $Revision: 19378 $, $Date: 2009-08-28 10:26:53 +0200 (Fri, 28 Aug 2009) $
- Author:
- Oliver Tonnhofer, last edited by: $Author: aionita $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeInstant
public TimeInstant(Date time)
- Parameters:
time
-
getTime
public Date getTime()
- Returns:
- the time
Copyright © 2011. All Rights Reserved.