| Home >> All >> org >> apache >> commons >> lang >> [ time Javadoc ] |
org.apache.commons.lang.time: Javadoc index of package org.apache.commons.lang.time.
Package Samples:
org.apache.commons.lang.time: Provides highly reusable static utility methods, chiefly concerned with adding value to java.lang and other standard core classes.
Classes:
StopWatch: StopWatch provides a convenient API for timings. To start the watch, call start() 55 . At this point you can: split() 55 the watch to get the time whilst the watch continues in the background. unsplit() 55 will remove the effect of the split. At this point, these three options are available again. suspend() 55 the watch to pause it. resume() 55 allows the watch to continue. Any time between the suspend and resume will not be counted in the total. At this point, these three options are available again. stop() 55 the watch to complete the timing session. It is intended that the output methods toString() ...
FastDateFormat: FastDateFormat is a fast and thread-safe version of java.text.SimpleDateFormat . This class can be used as a direct replacement to SimpleDateFormat in most formatting situations. This class is especially useful in multi-threaded server environments. SimpleDateFormat is not thread-safe in any JDK version, nor will it be as Sun have closed the bug/RFE. Only formatting is supported, but all patterns are compatible with SimpleDateFormat (except time zones - see below). Java 1.4 introduced a new pattern letter, 'Z' , to represent time zones in RFC822 format (eg. +0800 or -1100 ). This pattern letter ...
DurationFormatUtils: Duration formatting utilities and constants. The following table describes the tokens used in the pattern language for formatting. character duration element y years M months d days H hours m minutes s seconds S milliseconds
DateFormatUtils: Date and time formatting utilities and constants. Formatting is performed using the FastDateFormat class.
DateUtils: A suite of utilities surrounding the use of the java.util.Calendar and java.util.Date object.
FastDateFormatTest: Unit tests FastDateFormat .
DateUtilsTest: Unit tests DateUtils .
DurationFormatUtilsTest: TestCase for DurationFormatUtils.
| Home | Contact Us | Privacy Policy | Terms of Service |