@@ -0,0 +1,1096 @@
+//@@author A0147984L%0Apackage seedu.address.model.task;%0A%0Aimport static org.junit.Assert.assertFalse;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.junit.Test;%0A%0Aimport seedu.address.model.task.Time;%0A%0Apublic class TimeTest %7B%0A%0A    @Test%0A    public void isValidTime() %7B%0A        // invalid time%0A        assertFalse(Time.isValidTime(%22 %22)); // space only%0A        assertFalse(Time.isValidTime(%22*%22)); // non-alphanumeric%0A        assertFalse(Time.isValidTime(%22eight%22)); // alphabets%0A        assertFalse(Time.isValidTime(%221200%22)); // digits without %22:%22%0A        assertFalse(Time.isValidTime(%2224:00%22)); // hour exceeds 24%0A        assertFalse(Time.isValidTime(%220:60%22)); // minutes exceeds 60%0A%0A        // valid time%0A        assertTrue(Time.isValidTime(%22%22)); // empty%0A        assertTrue(Time.isValidTime(%220:00%22)); // the hour only use 1 digit%0A        assertTrue(Time.isValidTime(%220:59%22));%0A        assertTrue(Time.isValidTime(%2200:00%22)); // the hour can use 2 digits%0A        assertTrue(Time.isValidTime(%2223:59%22)); // latest time%0A        assertTrue(Time.isValidTime(%2219:59%22)); // hour begins with 1%0A    %7D%0A%7D%0A

Test time regex