{"ScriptPreparationCode":null,"TestCases":[{"Name":"1","Code":"const options = {\r\n hour: \u00272-digit\u0027,\r\n minute: \u00272-digit\u0027,\r\n hour12: true,\r\n };\r\nconst millis = new Date().getTime();\r\n const times = [];\r\n const date = new Date(millis);\r\n const minute = 1000 * 60 * 30 / 60_000;\r\n\r\n let i = 0;\r\n const len = Math.floor(1440 / minute);\r\n while (i \u003C= len) {\r\n times[i] = date.toLocaleTimeString(undefined, options)\r\n date.setMinutes(date.getMinutes() \u002B minute);\r\n i\u002B\u002B;\r\n }","IsDeferred":false},{"Name":"2","Code":"const options = {\r\n hour: \u00272-digit\u0027,\r\n minute: \u00272-digit\u0027,\r\n hour12: true,\r\n };\r\nconst millis = new Date().getTime();\r\n const timeCount = 48;\r\n const times = new Array(timeCount);\r\n const clone = new Date(millis);\r\n\r\n for (let i = 0; i \u003C= timeCount; i\u002B\u002B) {\r\n times[i] = clone.toLocaleTimeString(undefined, options);\r\n clone.setMinutes(clone.getMinutes() \u002B 30);\r\n }","IsDeferred":false},{"Name":"3","Code":"const options = {\r\n hour: \u00272-digit\u0027,\r\n minute: \u00272-digit\u0027,\r\n hour12: true,\r\n };\r\nconst millis = new Date().getTime();\r\n const timeCount = 48;\r\n const times = new Array(timeCount);\r\n const clone = new Date(millis);\r\n\r\n for (let i = 0; i \u003C= timeCount; i\u002B\u002B) {\r\n times.push(clone.toLocaleTimeString(undefined, options));\r\n clone.setMinutes(clone.getMinutes() \u002B 30);\r\n }","IsDeferred":false}]}