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

Meeting statistics (single and multiple meeting counts) #125

Conversation

AaronnSeah
Copy link

@AaronnSeah AaronnSeah commented Oct 19, 2020

part of #134 and #135
Command word: meeting stats

meeting stats [NUMBEROFMONTHS] [m/MONTHS y/YEAR]

[NUMBEROFMONTHS] is optional, only allowed values are [2,6].
[m/MONTHS y/YEAR] is optional, only allowed integer values for months are [1,12] and allowed integer values for year is [1, infinity]

only one optional parameter allowed.

3 kinds of commands:
1) get number of meetings started in the current month and year. (command: meeting stats)

meetingstatsdefault

2) get number of meetings started in the specified month and year. (command: meeting stats m/10 y/2020)

meetingstatscustom

3) output multiple number of meetings started for months in a bar chart. (command: meeting stats 4)
for meeting stats 4, output meetings count for the months between the current month and year and the previous 3 months inclusive.

meetingstatsmultiple

@AaronnSeah AaronnSeah requested review from sebastiantoh and Asthenosphere and removed request for sebastiantoh October 19, 2020 16:18
Copy link

@Asthenosphere Asthenosphere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works well! LGTM!

@AaronnSeah AaronnSeah merged commit 1101053 into AY2021S1-CS2103T-T11-1:master Oct 20, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants