| interpretes textual descriptions of a duration.
Syntax: <quantity> [business] <unit>
Where
- <quantity> is a piece of text that is parsable
with
Double.parseDouble(quantity) .
- <unit> is one of {second, seconds, minute, minutes,
hour, hours, day, days, week, weeks, month, months, year, years}.
- And adding the optional indication
business means that
only business hours should be taken into account for this duration.
|