public class TimePosition
extends java.lang.Object
| Constructor and Description |
|---|
TimePosition(org.joda.time.DateTime time)
constructor using default time format ISO 8601
|
TimePosition(org.joda.time.DateTime time,
Time.TimeFormat timeFormat)
constructor
|
TimePosition(IndeterminateValue indeterminateValue)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
IndeterminateValue |
getIndeterminateValue()
Get time position indeterminate value
|
org.joda.time.DateTime |
getTime()
Get time position time
|
Time.TimeFormat |
getTimeFormat()
Get time position time format
|
boolean |
isSetIndeterminateValue()
Check if indeterminateValue is set
|
boolean |
isSetTime()
Check if time value is set
|
boolean |
isSetTimeFormat()
Check if time format is set
|
java.lang.String |
toString() |
public TimePosition(org.joda.time.DateTime time)
time - Time postion timepublic TimePosition(IndeterminateValue indeterminateValue)
indeterminateValue - Indeterminate value of time positionpublic TimePosition(org.joda.time.DateTime time,
Time.TimeFormat timeFormat)
time - Time position timetimeFormat - Time formatpublic org.joda.time.DateTime getTime()
public IndeterminateValue getIndeterminateValue()
public Time.TimeFormat getTimeFormat()
public boolean isSetTime()
public boolean isSetIndeterminateValue()
public boolean isSetTimeFormat()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.