THE PACKAGE JAVA.UTIL
java.util.Date
21.3
21.3.23
public long getTime()
This method returns the time represented by this
Date
 object, represented as the
distance, measured in milliseconds, of that time from the epoch (00:00:00 GMT
on January 1, 1970).
21.3.24
public void setTime(long time)
This
Date
 object is modified so that it represents a point in time that is
time
 milli 
seconds after the epoch (00:00:00 GMT on January 1, 1970).
21.3.25
public boolean before(Date when)
The result is
true
 if and only if the instant represented by this
Date
 object is
strictly earlier than the instant represented by
when
.
21.3.26
public boolean after(Date when)
The result is
true
 if and only if the instant represented by this
Date
 object is
strictly later than the instant represented by
when
.
21.3.27
public String toLocaleString()
This
Date
 object is converted to a
String
 of an implementation dependent form.
The general intent is that the form should be familiar to the user of the Java appli 
cation, wherever it may happen to be running. The intent is comparable to that of
the
%c
 format supported by the
strftime
 function of ISO C.
See also methods
toString
 ( 21.3.7) and
toGMTString
 ( 21.3.28).
21.3.28
public String toGMTString()
This
Date
 object is converted to a
String
 of length 23 or 24 of the form:
"d mon yyyy hh:mm:ss GMT"
where:
d
 is the day of the month (
1
 through
31
), as one or two decimal digits.
mon
 is the month (
Jan
,
Feb
,
Mar
,
Apr
,
May
,
Jun
,
Jul
,
Aug
,
Sep
,
Oct
,
Nov
,
Dec
).
629






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved