edu.stanford.nlp.time
Class JodaTimeUtils.ConversionOptions

java.lang.Object
  extended by edu.stanford.nlp.time.JodaTimeUtils.ConversionOptions
Enclosing class:
JodaTimeUtils

public static class JodaTimeUtils.ConversionOptions
extends java.lang.Object


Field Summary
 boolean approximate
          Treat durations as approximate
 boolean forceDate
          If true, give a "best guess" of the right date; if false, backoff to giving a duration for malformed dates.
 java.lang.String[] forceUnits
          Force particular units -- e.g., force 20Y to be 20Y (20 years) rather than 2E (2 decades)
 
Constructor Summary
JodaTimeUtils.ConversionOptions()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

forceDate

public boolean forceDate
If true, give a "best guess" of the right date; if false, backoff to giving a duration for malformed dates.


forceUnits

public java.lang.String[] forceUnits
Force particular units -- e.g., force 20Y to be 20Y (20 years) rather than 2E (2 decades)


approximate

public boolean approximate
Treat durations as approximate

Constructor Detail

JodaTimeUtils.ConversionOptions

public JodaTimeUtils.ConversionOptions()


Stanford NLP Group