Package com.norconex.commons.lang.time
Time-related utility classes.
-
Interface Summary Interface Description IDurationUnitFormatter Formats a single duration unit according to supplied locale and plurality flag. -
Class Summary Class Description DateUtil Date-related utility methods.DurationFormatter Formats a duration to a string.DurationParser Parse a textual representation of a duration and converts it into along
millisecond value.RBDurationUnitFormatter Use localized properties files (ResourceBundle
) to get the string representation of duration unit.YearMonthDay Immutable class holding a specific date made only of the year, month, and day.YearMonthDayInterval An immutable date interval where both the start and end are inclusive. -
Enum Summary Enum Description DurationUnit Duration unit. -
Exception Summary Exception Description DurationParserException Runtime exception when aDurationParser
could not parse a string value.