Time
@Deprecated
public Time(int hour,
int minute,
int second)
-
Deprecated. Use the constructor that takes a milliseconds value in place of this constructor
- Constructs a
Time object initialized with the given values for the hour, minute, and second. The driver sets the date components to January 1, 1970. Any method that attempts to access the date components of a Time object will throw a java.lang.IllegalArgumentException . The result is undefined if a given argument is out of bounds.
-
Parameters:
-
hour - 0 to 23
-
minute - 0 to 59
-
second - 0 to 59
|