# Package org.apache.commons.lang.time

package org.apache.commons.lang.time

Provides classes and methods to work with dates and durations.

This includes:

- `DateUtils` - a set of static utility methods for working with dates
- `FastDateFormat` - a replacement for `SimpleDateFormat` that is fast and thread-safe
- `DateFormatUtils` - a formatting class for dates
- `StopWatch` - a duration timer

Since:
  2.0

  These classes are immutable (and therefore thread-safe) apart from `StopWatch`.

Related Packages
Package
Description
org.apache.commons.lang
Provides highly reusable static utility methods, chiefly concerned with adding value to the `java.lang` classes.
Classes
Class
Description
DateFormatUtils
Date and time formatting utilities and constants.
DateUtils
A suite of utilities surrounding the use of the `Calendar` and `Date` object.
DurationFormatUtils
Duration formatting utilities and constants.
FastDateFormat
FastDateFormat is a fast and thread-safe version of `SimpleDateFormat`.
StopWatch
`StopWatch` provides a convenient API for timings.