JodaFormatter¶
- public class JodaFormatter¶
Methods¶
formatPeriod¶
parse¶
- public Period parse(String intervalString, Locale locale)¶
Parse time interval in different units, eg: “1 year”
Parameters: - intervalString – time interval format number: integer unit : year, month, week, day, hour, minute, second (can use plural forms also) currently compound units like 1 year and 2 months are not supported