|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcaltool.schedule.Time
public class Time
A Time consists of an hour, minute, and AM or PM indicator. A time value is expressed using a 12-hour or 24-hour clock style. The clock style is set as an option by the user. If the clock style is 24-hour, the AmOrPm indicator is nil.
| Field Summary | |
|---|---|
(package private) AmOrPm |
amOrPm
Standard suffix used in 12-hour time value |
(package private) int |
hour
The hour component of a time value, between 1 and 12 or 0 and 24 based on the clock style in use |
(package private) int |
minute
The minute component of a time value, between 0 and 59 |
| Constructor Summary | |
|---|---|
Time()
Construct an empty time value. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
int hour
int minute
AmOrPm amOrPm
| Constructor Detail |
|---|
public Time()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||