public static class JodaTimeUtils.ConversionOptions extends Object
Modifier and Type | Field and Description |
---|---|
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.
|
String[] |
forceUnits
Force particular units -- e.g., force 20Y to be 20Y (20 years) rather than 2E (2 decades)
|
Constructor and Description |
---|
ConversionOptions() |
public boolean forceDate
public String[] forceUnits
public boolean approximate