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 datesFastDateFormat- a replacement forSimpleDateFormatthat is fast and thread-safeDateFormatUtils- a formatting class for datesStopWatch- a duration timer
- Since:
- 2.0
These classes are immutable (and therefore thread-safe) apart from
StopWatch.
-
ClassDescriptionDate and time formatting utilities and constants.Date iterator.Duration formatting utilities and constants.Element that is parsed from the format pattern.FastDateFormat is a fast and thread-safe version of
SimpleDateFormat.Inner class to output a constant single character.Inner class defining a numeric rule.Inner class to output a padded number.Helper class for creating compound objects.Inner class defining a rule.Inner class to output a constant string.Inner class to output one of a set of values.Inner class that acts as a compound key for time zone names.Inner class to output a time zone name.Inner class to output a time zone as a number+/-HHMMor+/-HH:MM.Inner class to output the twelve hour field.Inner class to output the twenty four hour field.Inner class to output a two digit month.Inner class to output a two digit number.Inner class to output a two digit year.Inner class to output an unpadded month.Inner class to output an unpadded number.StopWatchprovides a convenient API for timings.