21.3
java.util.Date
THE PACKAGE JAVA.UTIL
21.3.17
public int getHours()
The returned value is a number (
0
through
23
) representing the hour within the
day that contains or begins with the instant in time represented by this
Date
object, as interpreted in the local time zone.
21.3.18
public void setHours(int hours)
This
Date
object is modified so that it represents a point in time within the speci
fied hour of the day, with the year, month, date, minute, and second the same as
before, as interpreted in the local time zone.
21.3.19
public int getMinutes()
The returned value is a number (
0
through
59
) representing the minute within the
hour that contains or begins with the instant in time represented by this
Date
object, as interpreted in the local time zone.
21.3.20
public void setMinutes(int minutes)
This
Date
object is modified so that it represents a point in time within the speci
fied minute of the hour, with the year, month, date, hour, and second the same as
before, as interpreted in the local time zone.
21.3.21
public int getSeconds()
The returned value is a number (
0
through
61
) representing the second within the
minute that contains or begins with the instant in time represented by this
Date
object, as interpreted in the local time zone.
21.3.22
public void setSeconds(int seconds)
This
Date
object is modified so that it represents a point in time within the speci
fied second of the minute, with the year, month, date, hour, and minute the same
as before, as interpreted in the local time zone.
628
footer
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