Package org.sqlite.date
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 optimised FastDateFormat
class.
New in Lang 2.1 is the org.apache.commons.lang3.time.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
.FastDatePrinter.NumberRule Inner class defining a numeric rule.FastDatePrinter.Rule Inner class defining a rule. -
Class Summary Class Description DateFormatUtils Date and time formatting utilities and constants.ExceptionUtils Provides utilities for manipulating and examiningThrowable
objects.FastDateFormat FastDateFormat is a fast and thread-safe version ofSimpleDateFormat
.FastDateParser FastDateParser is a fast and thread-safe version ofSimpleDateFormat
.FastDateParser.CaseInsensitiveTextStrategy A strategy that handles a text field in the parsing patternFastDateParser.CopyQuotedStrategy A strategy that copies the static or quoted field in the parsing patternFastDateParser.ISO8601TimeZoneStrategy FastDateParser.NumberStrategy A strategy that handles a number field in the parsing patternFastDateParser.Strategy A strategy to parse a single field from the parsing patternFastDateParser.TimeZoneStrategy A strategy that handles a timezone field in the parsing patternFastDatePrinter FastDatePrinter is a fast and thread-safe version ofSimpleDateFormat
.FastDatePrinter.CharacterLiteral Inner class to output a constant single character.FastDatePrinter.Iso8601_Rule Inner class to output a time zone as a number+/-HHMM
or+/-HH:MM
.FastDatePrinter.PaddedNumberField Inner class to output a padded number.FastDatePrinter.StringLiteral Inner class to output a constant string.FastDatePrinter.TextField Inner class to output one of a set of values.FastDatePrinter.TimeZoneDisplayKey Inner class that acts as a compound key for time zone names.FastDatePrinter.TimeZoneNameRule Inner class to output a time zone name.FastDatePrinter.TimeZoneNumberRule Inner class to output a time zone as a number+/-HHMM
or+/-HH:MM
.FastDatePrinter.TwelveHourField Inner class to output the twelve hour field.FastDatePrinter.TwentyFourHourField Inner class to output the twenty four hour field.FastDatePrinter.TwoDigitMonthField Inner class to output a two digit month.FastDatePrinter.TwoDigitNumberField Inner class to output a two digit number.FastDatePrinter.TwoDigitYearField Inner class to output a two digit year.FastDatePrinter.UnpaddedMonthField Inner class to output an unpadded month.FastDatePrinter.UnpaddedNumberField Inner class to output an unpadded number.FormatCache<F extends java.text.Format> FormatCache is a cache and factory forFormat
s.FormatCache.MultipartKey Helper class to hold multi-part Map keys