Coder Social home page Coder Social logo

tcss360group3's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

abderisaq

tcss360group3's Issues

Refactor all java.util.Calendar references to (local or zoned)DateTime

The Calendar paradigm is old as of Java 7. In order to keep our code idiomatic, we should be using the latest Java paradigm, DateTime.
All references and calculations of Calendar and GregorianCalendar should be changed to be ZonedDateTime or LocalDateTime objects and calculations so that interacting with our UI is simple and follows the most up-to-date Java coding practices.

Decide on consistent class author tags

I know we originally decided to include author tags for classes, but most of us haven't been doing it. I don't care either way, but we should make it consistent. Opinions?

Count of pending jobs doesn't work

Currently, the count of pending jobs returns the total number of jobs in the system, some of which could be cancelled (ie not pending)

As a Park Manager I want to unsubmit a job

Rule:
A job can be unsubmitted only if the job starts at least a minumum number of days in the future.

Acceptance tests:
A volunteer can unvolunteer only if the job starts at least a minumum number of days in the future, default of 3.
Volunteer unvolunteers for a job that starts on the current day
Volunteer unvolunteers for a multi-day job that starts prior to the current day
Volunteer unvolunteers for a job that starts more than the minumum number of days in the future
Volunteer unvolunteers for a job that starts exactly the minumum number of days in the future

Create GUI components

These views need to be implemented. New views may be added in this thread.

Volunteer menu
Park Manager menu
Urban Parks staff menu
Signup menu
Register User menu

As a Park Manager I want to submit a new job

Rule:
No job can be specified that takes more than the maximum number of days, default of 4

Acceptance tests:
The specified job takes one more than the maximum number of days
The specified job takes one fewer than the maximum number of days
The specified job takes the maximum number of days

Rule:
No job can be specified whose end date is more than the maximum number of days from the current date, default of 60

Acceptance tests:
The specified job ends one more than the maximum number of days from the current date
The specified job ends one fewer than the maximum number of days from the current date
The specified job ends the maximum number of days from the current date

Rule:
There can be no more than the maximum number of pending jobs at a time in the entire system, default of 10

Acceptance tests:
The system has exactly the maximum number of pending jobs
The system has far fewer than the maximum number of pending jobs
The system has one fewer than the maximum number of pending jobs

As a Volunteer I want to sign up for a job

Rule:
A volunteer may sign up only if the job begins at least a minimum number of calendar days after the current date, same default as for unvolunteering.

Acceptance tests:
Volunteer signs up for job that begins less than the minimum number of calendar days from the current date
Volunteer signs up for job that begins much more than the minimum number of calendar days from the current date
Volunteer signs up for job that begins exactly the minimum number of calendar days from the current date

Rule:
A volunteer cannot sign up for more than one job that extends across any particular calendar day

Acceptance tests:
Volunteer has jobs already signed up for, this job starts the same day as the end of some job already signed up for
Volunteer has jobs already signed up for, this job ends the same day as the start of some job already signed up for
Volunteer has no jobs already signed up for
Volunteer has jobs already signed up for, this job does not extend across any days as jobs already signed up for

Job should store a list of its volunteers

A job should store a list of the volunteers that are currently signed up for it.
This means that there is a 2-way relationship between jobs and volunteers.
When volunteers and jobs are associated, both references MUST be changed, or they will become unsynced, which will require some refactoring.

As a volunteer, I want to unvolunteer for a job

Rule:
A volunteer can unvolunteer only if the job starts at least a minumum number of days in the future, default of 3.

Acceptance tests:
Volunteer unvolunteers for a job that starts on the current day
Volunteer unvolunteers for a multi-day job that starts prior to the current day
Volunteer unvolunteers for a job that starts more than the minumum number of days in the future
Volunteer unvolunteers for a job that starts exactly the minumum number of days in the future

Figure out timezone details

This was brought up multiple times in class.
We need to know what happens with date calculations when our program is run in different timezones, and possibly document it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.