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
-
Method Summary
Modifier and TypeMethodDescriptionReturns theDate
that this appointment begins.abstract String
Returns a String describing the beginning date and time of this appointment.abstract String
Returns a description of this appointment (for instance,"Have coffee with Marsha"
).Returns theDate
that this appointment ends.abstract String
Returns a String describing the ending date and time of this appointment.final String
toString()
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 theDate
that this appointment begins. -
getEndTime
Returns theDate
that 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.
-