{"ScriptPreparationCode":null,"TestCases":[{"Name":"charAt()","Code":"let pStringDate = \u0027!foo bar baz\u0027;\r\nlet noop = Function.prototype;\r\n\r\nif (pStringDate.charAt(4) === \u0027-\u0027 \u0026\u0026 pStringDate.charAt(7) === \u0027-\u0027 \u0026\u0026 pStringDate.charAt(10) === \u0027T\u0027 \u0026\u0026 pStringDate.charAt(13) === \u0027:\u0027 \u0026\u0026 pStringDate.charAt(16) === \u0027:\u0027) noop();","IsDeferred":false},{"Name":"RegExp","Code":"let pStringDate = \u00272000-10-07T11:00:34\u0027;\r\nlet noop = Function.prototype;\r\n\r\nconst pattern = /\u0027(\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d\u002B)|(\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d)|(\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d)/g;\r\nif (pattern.test(pStringDate)) noop();","IsDeferred":false}]}