Searched refs:parseHumanReal (Results 1 – 3 of 3) sorted by relevance
177 expect(TimeUtils.parseHumanReal('2022-11-10T22:04:54.186123212')).toEqual(182 expect(TimeUtils.parseHumanReal('2022-11-10T22:04:54.186123212Z')).toEqual(185 expect(TimeUtils.parseHumanReal('2022-11-10T22:04:54.186000212')).toEqual(188 expect(TimeUtils.parseHumanReal('2022-11-10T22:04:54.006000002')).toEqual(191 expect(TimeUtils.parseHumanReal('2022-11-10T06:04:54.006000002')).toEqual(198 expect(TimeUtils.parseHumanReal(TimeUtils.format(timestamp))).toEqual(timestamp);206 expect(() => TimeUtils.parseHumanReal('23h59m59s999ms5ns')).toThrow(invalidFormatError);207 expect(() => TimeUtils.parseHumanReal('1d')).toThrow(invalidFormatError);208 expect(() => TimeUtils.parseHumanReal('100')).toThrow(invalidFormatError);209 expect(() => TimeUtils.parseHumanReal('06h4m54s, 10 Nov 2022')).toThrow(invalidFormatError);[all …]
108 static parseHumanReal(timestampHuman: string): Timestamp { method in TimeUtils
544 const timestamp = TimeUtils.parseHumanReal(target.value);