|
|||||||||
| Home >> All >> org >> apache >> commons >> lang >> [ time overview ] | PREV NEXT | ||||||||
A
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.CharacterLiteral
- appendTo(StringBuffer, int) - Method in interface org.apache.commons.lang.time.FastDateFormat.NumberRule
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.PaddedNumberField
- appendTo(StringBuffer, int) - Method in class org.apache.commons.lang.time.FastDateFormat.PaddedNumberField
- appendTo(StringBuffer, Calendar) - Method in interface org.apache.commons.lang.time.FastDateFormat.Rule
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.StringLiteral
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.TextField
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNumberRule
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.TwelveHourField
- appendTo(StringBuffer, int) - Method in class org.apache.commons.lang.time.FastDateFormat.TwelveHourField
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.TwentyFourHourField
- appendTo(StringBuffer, int) - Method in class org.apache.commons.lang.time.FastDateFormat.TwentyFourHourField
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.TwoDigitMonthField
- appendTo(StringBuffer, int) - Method in class org.apache.commons.lang.time.FastDateFormat.TwoDigitMonthField
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField
- appendTo(StringBuffer, int) - Method in class org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.TwoDigitYearField
- appendTo(StringBuffer, int) - Method in class org.apache.commons.lang.time.FastDateFormat.TwoDigitYearField
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.UnpaddedMonthField
- appendTo(StringBuffer, int) - Method in class org.apache.commons.lang.time.FastDateFormat.UnpaddedMonthField
- appendTo(StringBuffer, Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField
- appendTo(StringBuffer, int) - Method in class org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField
- applyRules(Calendar, StringBuffer) - Method in class org.apache.commons.lang.time.FastDateFormat
- Performs the formatting by applying the rules to the specified calendar.
- assertArrayEquals(DurationFormatUtils.Token[], DurationFormatUtils.Token[]) - Method in class org.apache.commons.lang.time.DurationFormatUtilsTest
- assertEquals(String, Calendar, Calendar, long) - Static method in class org.apache.commons.lang.time.DateUtilsTest
- Used to check that Calendar objects are close enough delta is in milliseconds
- assertWeekIterator(Iterator, Calendar) - Static method in class org.apache.commons.lang.time.DateUtilsTest
- This checks that this is a 7 element iterator of Calendar objects that are dates (no time), and exactly 1 day spaced after each other.
- assertWeekIterator(Iterator, Date, Date) - Static method in class org.apache.commons.lang.time.DateUtilsTest
- Convenience method for when working with Date objects
- assertWeekIterator(Iterator, Calendar, Calendar) - Static method in class org.apache.commons.lang.time.DateUtilsTest
- This checks that this is a 7 divisble iterator of Calendar objects that are dates (no time), and exactly 1 day spaced after each other (in addition to the proper start and stop dates)
C
- cDateInstanceCache - Static variable in class org.apache.commons.lang.time.FastDateFormat
- cDateTimeInstanceCache - Static variable in class org.apache.commons.lang.time.FastDateFormat
- cDefaultPattern - Static variable in class org.apache.commons.lang.time.FastDateFormat
- cInstanceCache - Static variable in class org.apache.commons.lang.time.FastDateFormat
- cTimeInstanceCache - Static variable in class org.apache.commons.lang.time.FastDateFormat
- cTimeZoneDisplayCache - Static variable in class org.apache.commons.lang.time.FastDateFormat
- cal1 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- cal2 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- cal3 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- cal4 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- cal5 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- cal6 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- cal7 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- cal8 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- calAmPm1 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- calAmPm2 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- calAmPm3 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- calAmPm4 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- containsTokenWithValue(DurationFormatUtils.Token[], Object) - Static method in class org.apache.commons.lang.time.DurationFormatUtils.Token
- Helper method to determine if a set of tokens contain a value
- count - Variable in class org.apache.commons.lang.time.DurationFormatUtils.Token
D
- DateFormatUtils - class org.apache.commons.lang.time.DateFormatUtils.
- Date and time formatting utilities and constants.
- DateFormatUtils() - Constructor for class org.apache.commons.lang.time.DateFormatUtils
- DateFormatUtils instances should NOT be constructed in standard programming.
- DateFormatUtilsTest - class org.apache.commons.lang.time.DateFormatUtilsTest.
- TestCase for DateFormatUtils.
- DateFormatUtilsTest(String) - Constructor for class org.apache.commons.lang.time.DateFormatUtilsTest
- DateUtils - class org.apache.commons.lang.time.DateUtils.
- A suite of utilities surrounding the use of the java.util.Calendar and java.util.Date object.
- DateUtils() - Constructor for class org.apache.commons.lang.time.DateUtils
DateUtilsinstances should NOT be constructed in standard programming.- DateUtils.DateIterator - class org.apache.commons.lang.time.DateUtils.DateIterator.
- Date iterator.
- DateUtils.DateIterator(Calendar, Calendar) - Constructor for class org.apache.commons.lang.time.DateUtils.DateIterator
- Constructs a DateIterator that ranges from one date to another.
- DateUtilsTest - class org.apache.commons.lang.time.DateUtilsTest.
- Unit tests DateUtils.
- DateUtilsTest(String) - Constructor for class org.apache.commons.lang.time.DateUtilsTest
- DurationFormatUtils - class org.apache.commons.lang.time.DurationFormatUtils.
- Duration formatting utilities and constants.
- DurationFormatUtils() - Constructor for class org.apache.commons.lang.time.DurationFormatUtils
- DurationFormatUtils instances should NOT be constructed in standard programming.
- DurationFormatUtils.Token - class org.apache.commons.lang.time.DurationFormatUtils.Token.
- Element that is parsed from the format pattern.
- DurationFormatUtils.Token(Object) - Constructor for class org.apache.commons.lang.time.DurationFormatUtils.Token
- Wrap a token around a value.
- DurationFormatUtils.Token(Object, int) - Constructor for class org.apache.commons.lang.time.DurationFormatUtils.Token
- Wrap a token around a repeated number of a value, for example it would store 'yyyy' as a value for y and a count of 4.
- DurationFormatUtilsTest - class org.apache.commons.lang.time.DurationFormatUtilsTest.
- TestCase for DurationFormatUtils.
- DurationFormatUtilsTest(String) - Constructor for class org.apache.commons.lang.time.DurationFormatUtilsTest
- d - Static variable in class org.apache.commons.lang.time.DurationFormatUtils
- date0 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- date1 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- date2 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- date3 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- date4 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- date5 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- date6 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- date7 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- date8 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- dateAmPm1 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- dateAmPm2 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- dateAmPm3 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- dateAmPm4 - Variable in class org.apache.commons.lang.time.DateUtilsTest
- dateParser - Variable in class org.apache.commons.lang.time.DateUtilsTest
- dateTimeParser - Variable in class org.apache.commons.lang.time.DateUtilsTest
- defaultZone - Variable in class org.apache.commons.lang.time.DateUtilsTest
E
- endFinal - Variable in class org.apache.commons.lang.time.DateUtils.DateIterator
- equals(Object) - Method in class org.apache.commons.lang.time.DurationFormatUtils.Token
- Supports equality of this Token to another Token.
- equals(Object) - Method in class org.apache.commons.lang.time.FastDateFormat.Pair
- equals(Object) - Method in class org.apache.commons.lang.time.FastDateFormat.TimeZoneDisplayKey
- equals(Object) - Method in class org.apache.commons.lang.time.FastDateFormat
- Compare two objects for equality.
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.CharacterLiteral
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.PaddedNumberField
- estimateLength() - Method in interface org.apache.commons.lang.time.FastDateFormat.Rule
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.StringLiteral
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.TextField
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNumberRule
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.TwelveHourField
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.TwentyFourHourField
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.TwoDigitMonthField
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.TwoDigitYearField
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.UnpaddedMonthField
- estimateLength() - Method in class org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField
F
- FULL - Static variable in class org.apache.commons.lang.time.FastDateFormat
- FULL locale dependent date or time style.
- FastDateFormat - class org.apache.commons.lang.time.FastDateFormat.
- FastDateFormat is a fast and thread-safe version of java.text.SimpleDateFormat.
- FastDateFormat(String, TimeZone, Locale) - Constructor for class org.apache.commons.lang.time.FastDateFormat
- Constructs a new FastDateFormat.
- FastDateFormat.CharacterLiteral - class org.apache.commons.lang.time.FastDateFormat.CharacterLiteral.
- Inner class to output a constant single character.
- FastDateFormat.CharacterLiteral(char) - Constructor for class org.apache.commons.lang.time.FastDateFormat.CharacterLiteral
- FastDateFormat.NumberRule - interface org.apache.commons.lang.time.FastDateFormat.NumberRule.
- Inner class defining a numeric rule.
- FastDateFormat.PaddedNumberField - class org.apache.commons.lang.time.FastDateFormat.PaddedNumberField.
- Inner class to output a padded number.
- FastDateFormat.PaddedNumberField(int, int) - Constructor for class org.apache.commons.lang.time.FastDateFormat.PaddedNumberField
- FastDateFormat.Pair - class org.apache.commons.lang.time.FastDateFormat.Pair.
- Helper class for creating compound objects.
- FastDateFormat.Pair(Object, Object) - Constructor for class org.apache.commons.lang.time.FastDateFormat.Pair
- FastDateFormat.Rule - interface org.apache.commons.lang.time.FastDateFormat.Rule.
- Inner class defining a rule.
- FastDateFormat.StringLiteral - class org.apache.commons.lang.time.FastDateFormat.StringLiteral.
- Inner class to output a constant string.
- FastDateFormat.StringLiteral(String) - Constructor for class org.apache.commons.lang.time.FastDateFormat.StringLiteral
- FastDateFormat.TextField - class org.apache.commons.lang.time.FastDateFormat.TextField.
- Inner class to output one of a set of values.
- FastDateFormat.TextField(int, String[]) - Constructor for class org.apache.commons.lang.time.FastDateFormat.TextField
- FastDateFormat.TimeZoneDisplayKey - class org.apache.commons.lang.time.FastDateFormat.TimeZoneDisplayKey.
- Inner class that acts as a compound key for time zone names.
- FastDateFormat.TimeZoneDisplayKey(TimeZone, boolean, int, Locale) - Constructor for class org.apache.commons.lang.time.FastDateFormat.TimeZoneDisplayKey
- FastDateFormat.TimeZoneNameRule - class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule.
- Inner class to output a time zone name.
- FastDateFormat.TimeZoneNameRule(TimeZone, boolean, Locale, int) - Constructor for class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule
- FastDateFormat.TimeZoneNumberRule - class org.apache.commons.lang.time.FastDateFormat.TimeZoneNumberRule.
- Inner class to output a time zone as a number
+/-HHMMor+/-HH:MM. - FastDateFormat.TimeZoneNumberRule(boolean) - Constructor for class org.apache.commons.lang.time.FastDateFormat.TimeZoneNumberRule
- FastDateFormat.TwelveHourField - class org.apache.commons.lang.time.FastDateFormat.TwelveHourField.
- Inner class to output the twelve hour field.
- FastDateFormat.TwelveHourField(FastDateFormat.NumberRule) - Constructor for class org.apache.commons.lang.time.FastDateFormat.TwelveHourField
- FastDateFormat.TwentyFourHourField - class org.apache.commons.lang.time.FastDateFormat.TwentyFourHourField.
- Inner class to output the twenty four hour field.
- FastDateFormat.TwentyFourHourField(FastDateFormat.NumberRule) - Constructor for class org.apache.commons.lang.time.FastDateFormat.TwentyFourHourField
- FastDateFormat.TwoDigitMonthField - class org.apache.commons.lang.time.FastDateFormat.TwoDigitMonthField.
- Inner class to output a two digit month.
- FastDateFormat.TwoDigitMonthField() - Constructor for class org.apache.commons.lang.time.FastDateFormat.TwoDigitMonthField
- FastDateFormat.TwoDigitNumberField - class org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField.
- Inner class to output a two digit number.
- FastDateFormat.TwoDigitNumberField(int) - Constructor for class org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField
- FastDateFormat.TwoDigitYearField - class org.apache.commons.lang.time.FastDateFormat.TwoDigitYearField.
- Inner class to output a two digit year.
- FastDateFormat.TwoDigitYearField() - Constructor for class org.apache.commons.lang.time.FastDateFormat.TwoDigitYearField
- FastDateFormat.UnpaddedMonthField - class org.apache.commons.lang.time.FastDateFormat.UnpaddedMonthField.
- Inner class to output an unpadded month.
- FastDateFormat.UnpaddedMonthField() - Constructor for class org.apache.commons.lang.time.FastDateFormat.UnpaddedMonthField
- FastDateFormat.UnpaddedNumberField - class org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField.
- Inner class to output an unpadded number.
- FastDateFormat.UnpaddedNumberField(int) - Constructor for class org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField
- FastDateFormatTest - class org.apache.commons.lang.time.FastDateFormatTest.
- Unit tests FastDateFormat.
- FastDateFormatTest(String) - Constructor for class org.apache.commons.lang.time.FastDateFormatTest
- fields - Static variable in class org.apache.commons.lang.time.DateUtils
- format(long, String) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern.
- format(Date, String) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern.
- format(long, String, TimeZone) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a time zone.
- format(Date, String, TimeZone) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a time zone.
- format(long, String, Locale) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a locale.
- format(Date, String, Locale) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a locale.
- format(long, String, TimeZone, Locale) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a time zone and locale.
- format(Date, String, TimeZone, Locale) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern in a time zone and locale.
- format(DurationFormatUtils.Token[], int, int, int, int, int, int, int, boolean) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- The internal method to do the formatting.
- format(Object, StringBuffer, FieldPosition) - Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Date,CalendarorLong(milliseconds) object. - format(long) - Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a millisecond
longvalue. - format(Date) - Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Dateobject. - format(Calendar) - Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Calendarobject. - format(long, StringBuffer) - Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a milliseond
longvalue into the suppliedStringBuffer. - format(Date, StringBuffer) - Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Dateobject into the suppliedStringBuffer. - format(Calendar, StringBuffer) - Method in class org.apache.commons.lang.time.FastDateFormat
- Formats a
Calendarobject into the suppliedStringBuffer. - formatDuration(long, String) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string, using the specified format, and padding with zeros and using the default timezone.
- formatDuration(long, String, boolean) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string, using the specified format.
- formatDurationHMS(long) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string.
- formatDurationISO(long) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string.
- formatDurationWords(long, boolean, boolean) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Format an elapsed time into a plurialization correct string.
- formatPeriod(long, long, String) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string, using the specified format.
- formatPeriod(long, long, String, boolean, TimeZone) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string, using the specified format.
- formatPeriodISO(long, long) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Get the time gap as a string.
- formatUTC(long, String) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern using the UTC time zone.
- formatUTC(Date, String) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern using the UTC time zone.
- formatUTC(long, String, Locale) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern using the UTC time zone.
- formatUTC(Date, String, Locale) - Static method in class org.apache.commons.lang.time.DateFormatUtils
- Format a date/time into a specific pattern using the UTC time zone.
G
- getCount() - Method in class org.apache.commons.lang.time.DurationFormatUtils.Token
- Get the current number of values represented
- getDateInstance(int) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date formatter instance using the specified style in the default time zone and locale.
- getDateInstance(int, Locale) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date formatter instance using the specified style and locale in the default time zone.
- getDateInstance(int, TimeZone) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date formatter instance using the specified style and time zone in the default locale.
- getDateInstance(int, TimeZone, Locale) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date formatter instance using the specified style, time zone and locale.
- getDateTimeInstance(int, int) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date/time formatter instance using the specified style in the default time zone and locale.
- getDateTimeInstance(int, int, Locale) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date/time formatter instance using the specified style and locale in the default time zone.
- getDateTimeInstance(int, int, TimeZone) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date/time formatter instance using the specified style and time zone in the default locale.
- getDateTimeInstance(int, int, TimeZone, Locale) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a date/time formatter instance using the specified style, time zone and locale.
- getDefaultPattern() - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets the default pattern.
- getInstance() - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the default pattern in the default locale.
- getInstance(String) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the specified pattern in the default locale.
- getInstance(String, TimeZone) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the specified pattern and time zone.
- getInstance(String, Locale) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the specified pattern and locale.
- getInstance(String, TimeZone, Locale) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a formatter instance using the specified pattern, time zone and locale.
- getLocale() - Method in class org.apache.commons.lang.time.FastDateFormat
- Gets the locale used by this formatter.
- getMaxLengthEstimate() - Method in class org.apache.commons.lang.time.FastDateFormat
- Gets an estimate for the maximum string length that the formatter will produce.
- getPattern() - Method in class org.apache.commons.lang.time.FastDateFormat
- Gets the pattern used by this formatter.
- getSplitTime() - Method in class org.apache.commons.lang.time.StopWatch
- Get the split time on the stopwatch.
- getTime() - Method in class org.apache.commons.lang.time.StopWatch
- Get the time on the stopwatch.
- getTimeInstance(int) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a time formatter instance using the specified style in the default time zone and locale.
- getTimeInstance(int, Locale) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a time formatter instance using the specified style and locale in the default time zone.
- getTimeInstance(int, TimeZone) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a time formatter instance using the specified style and time zone in the default locale.
- getTimeInstance(int, TimeZone, Locale) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets a time formatter instance using the specified style, time zone and locale.
- getTimeZone() - Method in class org.apache.commons.lang.time.FastDateFormat
- Gets the time zone used by this formatter.
- getTimeZoneDisplay(TimeZone, boolean, int, Locale) - Static method in class org.apache.commons.lang.time.FastDateFormat
- Gets the time zone display name, using a cache for performance.
- getTimeZoneOverridesCalendar() - Method in class org.apache.commons.lang.time.FastDateFormat
- Returns
trueif the time zone of the calendar overrides the time zone of the formatter. - getValue() - Method in class org.apache.commons.lang.time.DurationFormatUtils.Token
- Get the particular value this token represents.
H
- H - Static variable in class org.apache.commons.lang.time.DurationFormatUtils
- hasNext() - Method in class org.apache.commons.lang.time.DateUtils.DateIterator
- Has the iterator not reached the end date yet?
- hashCode() - Method in class org.apache.commons.lang.time.FastDateFormat.Pair
- hashCode() - Method in class org.apache.commons.lang.time.FastDateFormat.TimeZoneDisplayKey
- hashCode() - Method in class org.apache.commons.lang.time.FastDateFormat
- A suitable hashcode.
I
- INSTANCE - Static variable in class org.apache.commons.lang.time.FastDateFormat.TwoDigitMonthField
- INSTANCE - Static variable in class org.apache.commons.lang.time.FastDateFormat.TwoDigitYearField
- INSTANCE - Static variable in class org.apache.commons.lang.time.FastDateFormat.UnpaddedMonthField
- INSTANCE_COLON - Static variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNumberRule
- INSTANCE_NO_COLON - Static variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNumberRule
- INSTANCE_YEAR - Static variable in class org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField
- ISO_DATETIME_FORMAT - Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for date-time without time zone.
- ISO_DATETIME_TIME_ZONE_FORMAT - Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for date-time with time zone.
- ISO_DATE_FORMAT - Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for date without time zone.
- ISO_DATE_TIME_ZONE_FORMAT - Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601-like formatter for date with time zone.
- ISO_EXTENDED_FORMAT_PATTERN - Static variable in class org.apache.commons.lang.time.DurationFormatUtils
- Pattern used with
FastDateFormatandSimpleDateFormatfor the ISO8601 period format used in durations. - ISO_TIME_FORMAT - Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for time without time zone.
- ISO_TIME_NO_T_FORMAT - Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601-like formatter for time without time zone.
- ISO_TIME_NO_T_TIME_ZONE_FORMAT - Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601-like formatter for time with time zone.
- ISO_TIME_TIME_ZONE_FORMAT - Static variable in class org.apache.commons.lang.time.DateFormatUtils
- ISO8601 formatter for time with time zone.
- increment() - Method in class org.apache.commons.lang.time.DurationFormatUtils.Token
- Add another one of the value
- init() - Method in class org.apache.commons.lang.time.FastDateFormat
- Initialise the instance for first use.
- isSameDay(Date, Date) - Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two date objects are on the same day ignoring time.
- isSameDay(Calendar, Calendar) - Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two calendar objects are on the same day ignoring time.
- isSameInstant(Date, Date) - Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two date objects represent the same instant in time.
- isSameInstant(Calendar, Calendar) - Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two calendar objects represent the same instant in time.
- isSameLocalTime(Calendar, Calendar) - Static method in class org.apache.commons.lang.time.DateUtils
- Checks if two calendar objects represent the same local time.
- iterator(Date, int) - Static method in class org.apache.commons.lang.time.DateUtils
- This constructs an
Iteratorthat will start and stop over a date range based on the focused date and the range style. - iterator(Calendar, int) - Static method in class org.apache.commons.lang.time.DateUtils
- This constructs an
Iteratorthat will start and stop over a date range based on the focused date and the range style. - iterator(Object, int) - Static method in class org.apache.commons.lang.time.DateUtils
- This constructs an
Iteratorthat will start and stop over a date range based on the focused date and the range style.
L
- LOG_10 - Static variable in class org.apache.commons.lang.time.FastDateFormat
- LONG - Static variable in class org.apache.commons.lang.time.FastDateFormat
- LONG locale dependent date or time style.
- lexx(String) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Parse a classic date format string into Tokens
M
- M - Static variable in class org.apache.commons.lang.time.DurationFormatUtils
- MEDIUM - Static variable in class org.apache.commons.lang.time.FastDateFormat
- MEDIUM locale dependent date or time style.
- MILLIS_IN_DAY - Static variable in class org.apache.commons.lang.time.DateUtils
- Deprecated. Use MILLIS_PER_DAY. This will be removed in Commons Lang 3.0.
- MILLIS_IN_HOUR - Static variable in class org.apache.commons.lang.time.DateUtils
- Deprecated. Use MILLIS_PER_HOUR. This will be removed in Commons Lang 3.0.
- MILLIS_IN_MINUTE - Static variable in class org.apache.commons.lang.time.DateUtils
- Deprecated. Use MILLIS_PER_MINUTE. This will be removed in Commons Lang 3.0.
- MILLIS_IN_SECOND - Static variable in class org.apache.commons.lang.time.DateUtils
- Deprecated. Use MILLIS_PER_SECOND. This will be removed in Commons Lang 3.0.
- MILLIS_PER_DAY - Static variable in class org.apache.commons.lang.time.DateUtils
- Number of milliseconds in a standard day.
- MILLIS_PER_HOUR - Static variable in class org.apache.commons.lang.time.DateUtils
- Number of milliseconds in a standard hour.
- MILLIS_PER_MINUTE - Static variable in class org.apache.commons.lang.time.DateUtils
- Number of milliseconds in a standard minute.
- MILLIS_PER_SECOND - Static variable in class org.apache.commons.lang.time.DateUtils
- Number of milliseconds in a standard second.
- m - Static variable in class org.apache.commons.lang.time.DurationFormatUtils
- mColon - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNumberRule
- mDaylight - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule
- mField - Variable in class org.apache.commons.lang.time.FastDateFormat.PaddedNumberField
- mField - Variable in class org.apache.commons.lang.time.FastDateFormat.TextField
- mField - Variable in class org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField
- mField - Variable in class org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField
- mLocale - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneDisplayKey
- mLocale - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule
- mLocale - Variable in class org.apache.commons.lang.time.FastDateFormat
- The locale.
- mLocaleForced - Variable in class org.apache.commons.lang.time.FastDateFormat
- Whether the locale overrides the default.
- mMaxLengthEstimate - Variable in class org.apache.commons.lang.time.FastDateFormat
- The estimated maximum length.
- mObj1 - Variable in class org.apache.commons.lang.time.FastDateFormat.Pair
- mObj2 - Variable in class org.apache.commons.lang.time.FastDateFormat.Pair
- mPattern - Variable in class org.apache.commons.lang.time.FastDateFormat
- The pattern.
- mRule - Variable in class org.apache.commons.lang.time.FastDateFormat.TwelveHourField
- mRule - Variable in class org.apache.commons.lang.time.FastDateFormat.TwentyFourHourField
- mRules - Variable in class org.apache.commons.lang.time.FastDateFormat
- The parsed rules.
- mSize - Variable in class org.apache.commons.lang.time.FastDateFormat.PaddedNumberField
- mStandard - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule
- mStyle - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneDisplayKey
- mStyle - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule
- mTimeZone - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneDisplayKey
- mTimeZone - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule
- mTimeZone - Variable in class org.apache.commons.lang.time.FastDateFormat
- The time zone.
- mTimeZoneForced - Variable in class org.apache.commons.lang.time.FastDateFormat.TimeZoneNameRule
- mTimeZoneForced - Variable in class org.apache.commons.lang.time.FastDateFormat
- Whether the time zone overrides any on Calendars.
- mValue - Variable in class org.apache.commons.lang.time.FastDateFormat.CharacterLiteral
- mValue - Variable in class org.apache.commons.lang.time.FastDateFormat.StringLiteral
- mValues - Variable in class org.apache.commons.lang.time.FastDateFormat.TextField
- main(String[]) - Static method in class org.apache.commons.lang.time.DateFormatUtilsTest
- main(String[]) - Static method in class org.apache.commons.lang.time.DateUtilsTest
- main(String[]) - Static method in class org.apache.commons.lang.time.DurationFormatUtilsTest
- main(String[]) - Static method in class org.apache.commons.lang.time.FastDateFormatTest
- main(String[]) - Static method in class org.apache.commons.lang.time.StopWatchTest
- main(String[]) - Static method in class org.apache.commons.lang.time.TimeTestSuite
- Command-line interface.
- modify(Calendar, int, boolean) - Static method in class org.apache.commons.lang.time.DateUtils
- Internal calculation method.
N
- next() - Method in class org.apache.commons.lang.time.DateUtils.DateIterator
- Return the next calendar in the iteration
O
- org.apache.commons.lang.time - package org.apache.commons.lang.time
- Provides highly reusable static utility methods, chiefly concerned
with adding value to
java.langand other standard core classes.
P
- parseDate(String, String[]) - Static method in class org.apache.commons.lang.time.DateUtils
- Parses a string representing a date by trying a variety of different parsers.
- parseObject(String, ParsePosition) - Method in class org.apache.commons.lang.time.FastDateFormat
- Parsing not supported.
- parsePattern() - Method in class org.apache.commons.lang.time.FastDateFormat
- Returns a list of Rules given a pattern.
- parseToken(String, int[]) - Method in class org.apache.commons.lang.time.FastDateFormat
- Performs the parsing of tokens.
R
- RANGE_MONTH_MONDAY - Static variable in class org.apache.commons.lang.time.DateUtils
- A month range, the week starting on Monday.
- RANGE_MONTH_SUNDAY - Static variable in class org.apache.commons.lang.time.DateUtils
- A month range, the week starting on Sunday.
- RANGE_WEEK_CENTER - Static variable in class org.apache.commons.lang.time.DateUtils
- A week range, centered around the day focused.
- RANGE_WEEK_MONDAY - Static variable in class org.apache.commons.lang.time.DateUtils
- A week range, starting on Monday.
- RANGE_WEEK_RELATIVE - Static variable in class org.apache.commons.lang.time.DateUtils
- A week range, starting on the day focused.
- RANGE_WEEK_SUNDAY - Static variable in class org.apache.commons.lang.time.DateUtils
- A week range, starting on Sunday.
- reduceAndCorrect(Calendar, Calendar, int, int) - Static method in class org.apache.commons.lang.time.DurationFormatUtils
- Reduces by difference, then if it overshot, calculates the overshot amount and fixes and returns the amount to change by.
- remove() - Method in class org.apache.commons.lang.time.DateUtils.DateIterator
- Always throws UnsupportedOperationException.
- reset() - Method in class org.apache.commons.lang.time.StopWatch
- Resets the stopwatch.
- resume() - Method in class org.apache.commons.lang.time.StopWatch
- Resume the stopwatch after a suspend.
- round(Date, int) - Static method in class org.apache.commons.lang.time.DateUtils
- Round this date, leaving the field specified as the most significant field.
- round(Calendar, int) - Static method in class org.apache.commons.lang.time.DateUtils
- Round this date, leaving the field specified as the most significant field.
- round(Object, int) - Static method in class org.apache.commons.lang.time.DateUtils
- Round this date, leaving the field specified as the most significant field.
- runningState - Variable in class org.apache.commons.lang.time.StopWatch
- The current running state of the StopWatch.
S
- S - Static variable in class org.apache.commons.lang.time.DurationFormatUtils
- SEMI_MONTH - Static variable in class org.apache.commons.lang.time.DateUtils
- This is half a month, so this represents whether a date is in the top or bottom half of the month.
- SHORT - Static variable in class org.apache.commons.lang.time.FastDateFormat
- SHORT locale dependent date or time style.
- SMTP_DATETIME_FORMAT - Static variable in class org.apache.commons.lang.time.DateFormatUtils
- SMTP (and probably other) date headers.
- STATE_RUNNING - Static variable in class org.apache.commons.lang.time.StopWatch
- STATE_SPLIT - Static variable in class org.apache.commons.lang.time.StopWatch
- STATE_STOPPED - Static variable in class org.apache.commons.lang.time.StopWatch
- STATE_SUSPENDED - Static variable in class org.apache.commons.lang.time.StopWatch
- STATE_UNSPLIT - Static variable in class org.apache.commons.lang.time.StopWatch
- STATE_UNSTARTED - Static variable in class org.apache.commons.lang.time.StopWatch
- StopWatch - class org.apache.commons.lang.time.StopWatch.
StopWatchprovides a convenient API for timings.- StopWatch() - Constructor for class org.apache.commons.lang.time.StopWatch
- Constructor.
- StopWatchTest - class org.apache.commons.lang.time.StopWatchTest.
- TestCase for StopWatch.
- StopWatchTest(String) - Constructor for class org.apache.commons.lang.time.StopWatchTest
- s - Static variable in class org.apache.commons.lang.time.DurationFormatUtils
- selectNumberRule(int, int) - Method in class org.apache.commons.lang.time.FastDateFormat
- Gets an appropriate rule for the padding required.
- setUp() - Method in class org.apache.commons.lang.time.DateUtilsTest
- setUp() - Method in class org.apache.commons.lang.time.FastDateFormatTest
- split() - Method in class org.apache.commons.lang.time.StopWatch
- Split the time.
- splitState - Variable in class org.apache.commons.lang.time.StopWatch
- Whether the stopwatch has a split time recorded.
- spot - Variable in class org.apache.commons.lang.time.DateUtils.DateIterator
- start() - Method in class org.apache.commons.lang.time.StopWatch
- Start the stopwatch.
- startTime - Variable in class org.apache.commons.lang.time.StopWatch
- The start time.
- stop() - Method in class org.apache.commons.lang.time.StopWatch
- Stop the stopwatch.
- stopTime - Variable in class org.apache.commons.lang.time.StopWatch
- The stop time.
- suite() - Static method in class org.apache.commons.lang.time.DateFormatUtilsTest
- suite() - Static method in class org.apache.commons.lang.time.DateUtilsTest
- suite() - Static method in class org.apache.commons.lang.time.DurationFormatUtilsTest
- suite() - Static method in class org.apache.commons.lang.time.FastDateFormatTest
- suite() - Static method in class org.apache.commons.lang.time.StopWatchTest
- suite() - Static method in class org.apache.commons.lang.time.TimeTestSuite
- Get the suite of tests
- suspend() - Method in class org.apache.commons.lang.time.StopWatch
- Suspend the stopwatch for later resumption.
T
- TimeTestSuite - class org.apache.commons.lang.time.TimeTestSuite.
- Test suite for the Time package.
- TimeTestSuite(String) - Constructor for class org.apache.commons.lang.time.TimeTestSuite
- Construct a new instance.
- tearDown() - Method in class org.apache.commons.lang.time.DateUtilsTest
- tearDown() - Method in class org.apache.commons.lang.time.FastDateFormatTest
- testBadStates() - Method in class org.apache.commons.lang.time.StopWatchTest
- testConstructor() - Method in class org.apache.commons.lang.time.DateFormatUtilsTest
- testConstructor() - Method in class org.apache.commons.lang.time.DateUtilsTest
- testConstructor() - Method in class org.apache.commons.lang.time.DurationFormatUtilsTest
- testDateISO() - Method in class org.apache.commons.lang.time.DateFormatUtilsTest
- testDateTimeISO() - Method in class org.apache.commons.lang.time.DateFormatUtilsTest
- testFormat() - Method in class org.apache.commons.lang.time.FastDateFormatTest
- testFormatDuration() - Method in class org.apache.commons.lang.time.DurationFormatUtilsTest
- testFormatDurationHMS() - Method in class org.apache.commons.lang.time.