Package edu.pdx.cs410J.apptbook
Class Appointment
java.lang.Object
edu.pdx.cs410J.AbstractAppointment
edu.pdx.cs410J.apptbook.Appointment
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a String describing the beginning date and time of this appointment.Returns a description of this appointment (for instance,"Have coffee with Marsha"
).Returns a String describing the ending date and time of this appointment.Methods inherited from class edu.pdx.cs410J.AbstractAppointment
getBeginTime, getEndTime, toString
-
Constructor Details
-
Appointment
public Appointment()
-
-
Method Details
-
getBeginTimeString
Description copied from class:AbstractAppointment
Returns a String describing the beginning date and time of this appointment.- Specified by:
getBeginTimeString
in classAbstractAppointment
-
getEndTimeString
Description copied from class:AbstractAppointment
Returns a String describing the ending date and time of this appointment.- Specified by:
getEndTimeString
in classAbstractAppointment
-
getDescription
Description copied from class:AbstractAppointment
Returns a description of this appointment (for instance,"Have coffee with Marsha"
).- Specified by:
getDescription
in classAbstractAppointment
-