|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.pdx.cs399J.AbstractAppointment
public abstract class AbstractAppointment
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.
| Constructor Summary | |
|---|---|
AbstractAppointment()
|
|
| Method Summary | |
|---|---|
Date |
getBeginTime()
Returns the Date that this appointment begins. |
abstract String |
getBeginTimeString()
Returns a String describing the beginning date and time of this appointment. |
abstract String |
getDescription()
Returns a description of this appointment (for instance, "Have coffee with Marsha"). |
Date |
getEndTime()
Returns the Date that this appointment ends. |
abstract String |
getEndTimeString()
Returns a String describing the ending date and time of this appointment. |
String |
toString()
Returns a brief textual summary of this appointment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAppointment()
| Method Detail |
|---|
public abstract String getBeginTimeString()
public abstract String getEndTimeString()
public Date getBeginTime()
Date that this appointment begins.
public Date getEndTime()
Date that this appointment ends.
public abstract String getDescription()
"Have coffee with Marsha").
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||