org.apache.tomcat.jni
public class Time extends Object
Version: $Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Field Summary | |
---|---|
static long | APR_MSEC_PER_USEC number of miliseconds per microsecond |
static long | APR_USEC_PER_SEC number of microseconds per second |
Method Summary | |
---|---|
static String | ctime(long t)
Formats dates in the ctime() format
in an efficient manner.
|
static long | msec(long t) |
static long | now()
number of microseconds since 00:00:00 january 1, 1970 UTC |
static String | rfc822(long t)
Formats dates in the RFC822
format in an efficient manner. |
static long | sec(long t) |
static void | sleep(long t)
Sleep for the specified number of micro-seconds.
|
Parameters: t the time to convert
Returns: apr_time_t as a msec
Returns: the current time
Parameters: t the time to convert
Returns: apr_time_t as a second
Parameters: t desired amount of time to sleep.