class Time
: the point is that it is does not have to be attached to a date
- needs to have a to Date function
- needs to have a to String function
- needs to be able to do greater than, less than, or equal to
- parse from Date
class Schedule
:
- has every period with startings and endings
- name of the period or (secondary) name of class
- has the start and end of the school day
- needs to be generated quickly
- needs to be todays schedule (even minimum days)
class Whatsnext
(Wrapper for Schedule
):
- current class
- next class
- time till next class
- time till end of school - school now?
- time till weekend (not included in
Schedule
) find a saturday - time till end of school? (not included in
Schedule
) - is minimumday
- school today?
- next class even after school