Assuming this is used for a 24-hour clinic, or a 24-hour hospice setting. Patients might have appoint from 10pm to 12am on that day. Therefore, I attempted to create an appointment for the timing. I note that UG mentioned "Office Hours" however, without a proper definition of "Office Hours" I assume that my office hours can be 24-hours as well.
Background
Assuming this is used for a 24-hour clinic, or a 24-hour hospice setting. Patients might have appoint from 10pm to 12am on that day. Therefore, I attempted to create an appointment for the timing. I note that UG mentioned "Office Hours" however, without a proper definition of "Office Hours" I assume that my office hours can be 24-hours as well.
Test Case
addapp nric/NRIC d/01/01/2025 start/23:00 end/00:00
ORaddapp nric/NRIC d/01/01/2025 start/23:00 end/24:00
Expected Behaviour
Appointment created successfully.
Encountered Behaviour
Start time must be before end time
Suggestion
Allow end time to be 24:00 to note for next day 12am whereas 00:00 is for the current day