# Package com.norconex.commons.lang.time

package com.norconex.commons.lang.time
Time-related utility classes.

- Related Packages
  Package
  Description
  com.norconex.commons.lang
  Miscellaneous classes.
- Class
  Description
  DateModel
  Class abstracting several date and time implementations (`Date`, `LocalDate`, `ZonedDateTime`, etc.).
  DateUtil
  Deprecated.
  Use more flexible `DateModel` instead.
  DurationFormatter
  Formats a duration to a string.
  DurationParser
  Parse a textual representation of a duration and converts it into a `long` millisecond value.
  DurationParserException
  Runtime exception when a `DurationParser` could not parse a string value.
  DurationUnit
  Duration unit.
  DurationUnitFormatter
  Formats a single duration unit according to supplied locale and plurality flag.
  IDurationUnitFormatter
  Deprecated.
  Use `DurationUnitFormatter` instead.
  RbDurationUnitFormatter
  Use localized properties files (`ResourceBundle`) to get the string representation of duration unit.
  Timer
  Time the execution of arbitrary code and return the elapsed time.
  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.
  ZonedDateTimeParser
  Parses a string representation of a date to a `ZonedDateTime`.
  ZonedDateTimeParser.TimeUnit
  ZonedDateTimeParser.ZonedDateTimeParserBuilder