This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /**Parses string formatted as YYYY-MM-DDThh:mm:ss.sZ | |
| * or YYYY-MM-DDThh:mm:ssZ (for IE8), to a Date object. | |
| * If the supplied string does not match the format, an | |
| * invalid Date (value NaN) is returned. | |
| * @param {string} dateStringInRange format YYYY-MM-DDThh:mm:ss.sZ, | |
| * or YYYY-MM-DDThh:mm:ssZ - Zulu (UTC) Time Only, | |
| * with year in range of 0000-9999, inclusive. | |
| * @return {Date} Date object representing the string. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Function Transpose2dArray(Of Array)(ByVal inArray As Array(,)) As Array(,) | |
| Dim x = CInt(inArray.GetLength(1)) | |
| Dim y = CInt(inArray.GetLength(0)) | |
| Dim outArray(x - 1, y - 1) As Array | |
| For i = 0 To x - 1 | |
| For j = 0 To y - 1 | |
| outArray(i, j) = inArray(j, i) | |
| Next | |
| Next |