Top Description Interfaces Classes
[default module]

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 org.apache.commons.lang3.time.StopWatch.

The time package contains some basic utilities for manipulating time (a delorean, police box and grandfather clock?). These include a org.apache.commons.lang3.time.StopWatch for simple performance measurements and an optimized org.apache.commons.lang3.time.FastDateFormat class.

Since
2.0

Interface Summary

Modifier and TypeInterface and Description
public interface
DateParser

DateParser is the "missing" interface for the parsing methods of java.text.DateFormat.

public interface
DatePrinter

DatePrinter is the "missing" interface for the format methods of java.text.DateFormat.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
AbstractFormatCache<
The Format type.
F extends Format
>

Caches for Format instances.

public class
public class
DateFormatUtils

Date and time formatting utilities and constants.

public class
DateUtils

A suite of utilities surrounding the use of the java.util.Calendar and java.util.Date object.

public class
DurationFormatUtils

Duration formatting utilities and constants.

public class
DurationUtils

Utilities for Duration.

public class
FastDateFormat

FastDateFormat is a fast and thread-safe version of java.text.SimpleDateFormat.

public class
FastDateParser

FastDateParser is a fast and thread-safe version of java.text.SimpleDateFormat.

public class
FastDatePrinter

FastDatePrinter is a fast and thread-safe version of java.text.SimpleDateFormat.

public class
FastTimeZone

Faster methods to produce custom time zones.

pack-priv class
GmtTimeZone

Custom time zone that contains offset from GMT.

public class
StopWatch

StopWatch provides a convenient API for timings.

public class
TimeZones

Helps dealing with java.util.TimeZones.