Create a new interval from a string representation.
Create a new interval from a string representation. The string value should have the
format: offset,duration,unit
. Offset and duration will be parsed by using the
Strings.parseDuration helper. Unit should be HOURS
or DAYS
.
(Since version ) see corresponding Javadoc for more information.