Package org.ocpsoft.prettytime.nlp.parse
Interface DateGroup
public interface DateGroup
Represents a
Date instanced parsed out of natural language text.- Author:
- <a href="mailto:lincolnbaxter@gmail.com>Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptiongetDates()Get allDateinstances parsed from the language text.intgetLine()Get the line in which thisDateGroupwas found.intGet the starting position of thisDateGroupin the language text.longgetText()Get the text fragment parsed into thisDateGroup.booleanReturntrueif thisDateGroupis a recurring event.
-
Method Details
-
getLine
int getLine()Get the line in which thisDateGroupwas found. -
getText
String getText()Get the text fragment parsed into thisDateGroup. -
getRecursUntil
Date getRecursUntil() -
getPosition
int getPosition()Get the starting position of thisDateGroupin the language text. -
getDates
Get allDateinstances parsed from the language text. -
isRecurring
boolean isRecurring()Returntrueif thisDateGroupis a recurring event. -
getRecurInterval
long getRecurInterval()
-