Open cctt1014 opened 4 years ago
fixedduration [task description] /for [duration] [unit]
For example: "fixedduration eat lunch /for 1 hour 30 minutes". Returns the added fixedduration task of 1 hour. It is considered a valid command because the first portion of the input (fixedduration eat lunch /for 1 hour) is in correct format. It does not care about the remaining portion ( 30 minutes). This is to promote user-friendliness.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your reason]
Did not handle this case, simply cut down the time duration instead of throwing an exception or handle those 30 minutes.