Package org.apache.commons.lang3.time
package org.apache.commons.lang3.time
Provides classes and methods to work with dates and durations.
These classes are immutable (and therefore thread-safe) apart from
StopWatch
.
The time package contains some basic utilities for manipulating time (a delorean, police box and grandfather clock?).
These include a StopWatch
for simple performance measurements and an optimized FastDateFormat
class.
- Since:
- 2.0
-
ClassDescriptionHelps use
Calendar
s.Date and time formatting utilities and constants.DateParser is the "missing" interface for the parsing methods ofDateFormat
.DatePrinter is the "missing" interface for the format methods ofDateFormat
.Duration formatting utilities and constants.Utilities forDuration
.FastDateFormat is a fast and thread-safe version ofSimpleDateFormat
.FastDateParser is a fast and thread-safe version ofSimpleDateFormat
.FastDatePrinter is a fast and thread-safe version ofSimpleDateFormat
.Faster methods to produce custom time zones.StopWatch
provides a convenient API for timings.Helps to deal withTimeZone
s.