|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.jni.Time
public class Time
Time
Field Summary | |
---|---|
static long |
APR_MSEC_PER_USEC
number of milliseconds per microsecond |
static long |
APR_USEC_PER_SEC
number of microseconds per second |
Constructor Summary | |
---|---|
Time()
|
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. |
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 String rfc822(long t)
t
- the time to convertpublic static String ctime(long t)
t
- the time to convertpublic static void sleep(long t)
t
- desired amount of time to sleep.
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |