|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tomcat.jni.Time
public class Time
Time
Field Summary | |
---|---|
static long |
APR_MSEC_PER_USEC
number of miliseconds per microsecond |
static long |
APR_USEC_PER_SEC
number of microseconds per second |
Constructor Summary | |
---|---|
Time()
|
Method Summary | |
---|---|
static java.lang.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 java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long APR_USEC_PER_SEC
public static final long APR_MSEC_PER_USEC
Constructor Detail |
---|
public Time()
Method Detail |
---|
public static long sec(long t)
public static long msec(long t)
public static long now()
public static java.lang.String rfc822(long t)
t
- the time to convertpublic static java.lang.String ctime(long t)
t
- the time to convertpublic static void sleep(long t)
t
- desired amount of time to sleep.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |