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 optimised
FastDateFormat class.
New in Lang 2.1 is the
DurationFormatUtils class, which
provides various methods for formatting durations.
- Since:
- 2.0
-
Interface Summary Interface Description DateParser DateParser is the "missing" interface for the parsing methods ofDateFormat.DatePrinter DatePrinter is the "missing" interface for the format methods ofDateFormat. -
Class Summary Class Description CalendarUtils Helps useCalendars.DateFormatUtils Date and time formatting utilities and constants.DateUtils A suite of utilities surrounding the use of theCalendarandDateobject.DurationFormatUtils Duration formatting utilities and constants.DurationUtils Utilities forDuration.FastDateFormat FastDateFormat is a fast and thread-safe version ofSimpleDateFormat.FastDateParser FastDateParser is a fast and thread-safe version ofSimpleDateFormat.FastDatePrinter FastDatePrinter is a fast and thread-safe version ofSimpleDateFormat.FastTimeZone Faster methods to produce custom time zones.StopWatch StopWatchprovides a convenient API for timings.TimeZones Helps to deal withTimeZones.