@Deprecated
public class Time
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
APR_MSEC_PER_USEC
Deprecated.
number of milliseconds per microsecond
|
static long |
APR_USEC_PER_SEC
Deprecated.
number of microseconds per second
|
| Constructor and Description |
|---|
Time()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
ctime(long t)
Deprecated.
Formats dates in the ctime() format
in an efficient manner.
|
static long |
msec(long t)
Deprecated.
|
static long |
now()
Deprecated.
number of microseconds since 00:00:00 January 1, 1970 UTC
|
static java.lang.String |
rfc822(long t)
Deprecated.
Formats dates in the RFC822
format in an efficient manner.
|
static long |
sec(long t)
Deprecated.
|
static void |
sleep(long t)
Deprecated.
Sleep for the specified number of micro-seconds.
|
public static final long APR_USEC_PER_SEC
public static final long APR_MSEC_PER_USEC
public static long sec(long t)
t - The timepublic static long msec(long t)
t - The timepublic 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.Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.