public class RelativeDate extends Object
Modifier and Type | Field and Description |
---|---|
static DateMapping |
temp |
Constructor and Description |
---|
RelativeDate() |
Modifier and Type | Method and Description |
---|---|
static String |
converter(String phrase) |
static void |
main(String[] args) |
static TimexChunk |
Relativerule(org.joda.time.DateTime start,
String phrase)
This function converts phrase that contains a relative date: more than xxx, etc
|
public static DateMapping temp
public static TimexChunk Relativerule(org.joda.time.DateTime start, String phrase)
start
- anchor timephrase
- public static void main(String[] args)
Copyright © 2017. All rights reserved.