org.elasticsearch.common.joda
Class DateMathParser
java.lang.Object
org.elasticsearch.common.joda.DateMathParser
public class DateMathParser
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateMathParser
public DateMathParser(FormatDateTimeFormatter dateTimeFormatter,
TimeUnit timeUnit)
parse
public long parse(String text,
long now)
parseUpperInclusive
public long parseUpperInclusive(String text,
long now)
parse
public long parse(String text,
long now,
boolean roundUp,
boolean upperInclusive)
Copyright © 2009-2012. All Rights Reserved.