{"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\n\r\nconst millis = new Date().getTime();\r\nconst 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\n\r\nconst millis = new Date().getTime();\r\nconst 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.push(date.toLocaleTimeString(undefined, options))\r\n date.setMinutes(date.getMinutes() \u002B minute);\r\n i\u002B\u002B;\r\n }","IsDeferred":false}]}