org.deegree.datatypes.time
Class TimePosition
java.lang.Object
org.deegree.datatypes.time.TimePosition
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class TimePosition
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
- Since:
- 2.0
- Version:
- $Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
- See Also:
- Serialized Form
Constructor Summary |
TimePosition()
defaults are:
indeterminatePosition = now
calendarEraName = AC
frame = #ISO-8601
time = new GregorianCalendar()
|
TimePosition(java.util.Calendar time)
defaults are:
indeterminatePosition = now
calendarEraName = AC
frame = #ISO-8601
|
TimePosition(TimeIndeterminateValue indeterminatePosition,
java.lang.String calendarEraName,
java.net.URI frame,
java.util.Calendar time)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimePosition
public TimePosition()
- defaults are:
- indeterminatePosition = now
- calendarEraName = AC
- frame = #ISO-8601
- time = new GregorianCalendar()
TimePosition
public TimePosition(java.util.Calendar time)
- defaults are:
- indeterminatePosition = now
- calendarEraName = AC
- frame = #ISO-8601
- Parameters:
time
-
TimePosition
public TimePosition(TimeIndeterminateValue indeterminatePosition,
java.lang.String calendarEraName,
java.net.URI frame,
java.util.Calendar time)
- Parameters:
indeterminatePosition
- calendarEraName
- frame
- time
-
getCalendarEraName
public java.lang.String getCalendarEraName()
- Returns:
- Returns the calendarEraName.
setCalendarEraName
public void setCalendarEraName(java.lang.String calendarEraName)
- Parameters:
calendarEraName
- The calendarEraName to set.
getFrame
public java.net.URI getFrame()
- Returns:
- Returns the frame.
setFrame
public void setFrame(java.net.URI frame)
- Parameters:
frame
- The frame to set.
getIndeterminatePosition
public TimeIndeterminateValue getIndeterminatePosition()
- Returns:
- Returns the indeterminatePosition.
setIndeterminatePosition
public void setIndeterminatePosition(TimeIndeterminateValue indeterminatePosition)
- Parameters:
indeterminatePosition
- The indeterminatePosition to set.
getTime
public java.util.Calendar getTime()
- Returns:
- Returns the time.
setTime
public void setTime(java.util.Calendar time)
- Parameters:
time
- The time to set.
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
- See Also:
Object.clone()
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org