A B C E F G I M O P S T Z

A

actionPerformed(ActionEvent) - Method in class TimeZoneGUI
Process a click of one of the buttons.
ALL - Static variable in class Time
A string consisting of the 3-letter time zone names, separated by blanks.

B

boxTimes() - Method in class TimeZoneGUI
= box of times constructed from times and timeButtons.
BST - Static variable in class Time
The following constants contain the eleven time zones, as Strings.
buttonsFields() - Method in class TimeZoneGUI
= a Box with all the buttons and fields for input

C

CDT - Static variable in class Time
 
compareTo(Time) - Method in class Time
= -1 if this time < time t, 0 if this time equals time t, and 1 if this time > time t.
CST - Static variable in class Time
 

E

EDT - Static variable in class Time
 
EST - Static variable in class Time
 

F

fixBoxForTimes() - Method in class TimeZoneGUI
Fix the box for times, to go in the east.
fixBoxTimes() - Method in class TimeZoneGUI
Remove the box for times from the JFrame, make it up again, and add it

G

getDisplayMode() - Method in class Time
= the 24-hour clock indication --true means display in 24-hour format; false means display in am-pm format.
getTime() - Method in class Time
 
getZone() - Method in class Time
= the time zone.
GMT - Static variable in class Time
 

I

IND - Static variable in class Time
 
instructionBox() - Method in class TimeZoneGUI
= A Box with the instructions for the north panel
isLegal(String) - Static method in class Time
= "z is a legal zone" --see class specification.
isLegal() - Method in class Time
= "this time is legal." A time is legal if it is > -24 hours and < +48 hours.

M

MDT - Static variable in class Time
 
MST - Static variable in class Time
 

O

objectName() - Method in class Time
= the name of this object

P

PDT - Static variable in class Time
 
prepend0(int) - Static method in class Time
= i as a string, using at least two chars (prepend 0 if necessary).
processCompareButton() - Method in class TimeZoneGUI
Process click of compareButton()
processLegalityButton() - Method in class TimeZoneGUI
Process a click of testLegalityButton
processTimeInZoneButton() - Method in class TimeZoneGUI
Process click of getTimeInZoneButton
PST - Static variable in class Time
 

S

selectedButton(int) - Method in class TimeZoneGUI
= the index of first selected button in timeButtons[k..] (length of timeButtons if none)
setDisplay(boolean) - Method in class Time
If b is true, set it to "twenty-four hours"; if b is false, set the display mode to AM-PM.

T

Time - Class in <Unnamed>
An instance represents the time of day in a time zone, in terms of hours, minutes, and seconds.
Time() - Constructor for class Time
Constructor: an instance with time 0 in GMT and a 24-hour clock.
Time(int, String, boolean) - Constructor for class Time
Constructor: A time of day of s seconds in zone z.
Time(int, int, int, String, boolean) - Constructor for class Time
Constructor: A time of day of h hours, m minutes, and s seconds in zone z.
timeInGMT() - Method in class Time
= a new Time that is the same as this time but described in GMT.
timeInZone(String) - Method in class Time
= a new Time that is the same as this time but described in zone z.
TimeZoneGUI - Class in <Unnamed>
An instance is a GUI to display and manipulate Times in a time zone.
TimeZoneGUI() - Constructor for class TimeZoneGUI
Constructor: a GUI that contains: (0) a color panel, with text to describe the color.
toInt(String) - Static method in class TimeZoneGUI
= s as an integer.
toString() - Method in class Time
= a string representation of the time.

Z

zones - Static variable in class Time
 

A B C E F G I M O P S T Z