Package edu.pdx.cs410J
Class AbstractAppointment
java.lang.Object
edu.pdx.cs410J.AbstractAppointment
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Appointment
This class represents an appointment found in an appointment book.
Each appointment has a beginning and ending time, as well as a text
message describing itself.
- Author:
- David Whitlock
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theDatethat this appointment begins.abstract StringReturns a String describing the beginning date and time of this appointment.abstract StringReturns a description of this appointment (for instance,"Have coffee with Marsha").Returns theDatethat this appointment ends.abstract StringReturns a String describing the ending date and time of this appointment.final StringtoString()Returns a brief textual summary of this appointment.
-
Constructor Details
-
AbstractAppointment
public AbstractAppointment()
-
-
Method Details
-
getBeginTimeString
Returns a String describing the beginning date and time of this appointment. -
getEndTimeString
Returns a String describing the ending date and time of this appointment. -
getBeginTime
Returns theDatethat this appointment begins. -
getEndTime
Returns theDatethat this appointment ends. -
getDescription
Returns a description of this appointment (for instance,"Have coffee with Marsha"). -
toString
Returns a brief textual summary of this appointment.
-