Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a Park Manager I want to view the future jobs that I have submitted #22

Closed
pilocchii opened this issue Feb 15, 2018 · 1 comment
Closed
Assignees

Comments

@pilocchii
Copy link
Owner

No description provided.

@abderisaq abderisaq self-assigned this Feb 15, 2018
@abderisaq
Copy link
Collaborator

These are the changes that I made:

(1) Job class

Added this method to check if the job starts today or in the future:
isInFuture()

(2) ParkManager class

Added a new method to test if the given job was created by the park manager:
isCreatedJob(Job theJob)

(3) JobCollection class:

Added a new method to return all jobs that in the future and created by the park manager:
getAvilableJobs(ParkManager parkManager)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants