public class TimePrimitiveFieldDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
private String |
begin |
private String |
end |
Constructor and Description |
---|
TimePrimitiveFieldDescriptor(String position)
Creates a new descriptor for a time instant.
|
TimePrimitiveFieldDescriptor(String begin,
String end)
Creates a new descriptor for a period.
|
Modifier and Type | Method and Description |
---|---|
String |
getBeginPosition() |
String |
getEndPosition() |
String |
getPosition() |
boolean |
isInstant() |
boolean |
isPeriod() |
public TimePrimitiveFieldDescriptor(String begin, String end)
begin
- the begin fieldend
- the end fieldpublic TimePrimitiveFieldDescriptor(String position)
position
- the field namepublic String getBeginPosition()
public String getEndPosition()
public boolean isPeriod()
public String getPosition()
public boolean isInstant()
Copyright © 2012-2015 52north.org. All Rights Reserved.