Lines Matching refs:makeTimestampFromHuman
235 expect(converterWithoutOffsets.makeTimestampFromHuman('0ns')).toEqual(
238 expect(converterWithoutOffsets.makeTimestampFromHuman('1000ns')).toEqual(
241 expect(converterWithoutOffsets.makeTimestampFromHuman('0ms')).toEqual(
244 expect(converterWithoutOffsets.makeTimestampFromHuman('1ms')).toEqual(
247 expect(converterWithoutOffsets.makeTimestampFromHuman('10ms')).toEqual(
251 expect(converterWithoutOffsets.makeTimestampFromHuman('999ms')).toEqual(
256 expect(converterWithoutOffsets.makeTimestampFromHuman('1s')).toEqual(
259 expect(converterWithoutOffsets.makeTimestampFromHuman('1s0ms')).toEqual(
263 converterWithoutOffsets.makeTimestampFromHuman('1s0ms0ns'),
266 converterWithoutOffsets.makeTimestampFromHuman('1s0ms1ns'),
270 expect(converterWithoutOffsets.makeTimestampFromHuman('0d1s1ms')).toEqual(
276 expect(converterWithoutOffsets.makeTimestampFromHuman('1m0s0ms')).toEqual(
279 expect(converterWithoutOffsets.makeTimestampFromHuman('1m1s1ms')).toEqual(
285 expect(converterWithoutOffsets.makeTimestampFromHuman('1h0m')).toEqual(
289 converterWithoutOffsets.makeTimestampFromHuman('1h1m1s1ms'),
296 expect(converterWithoutOffsets.makeTimestampFromHuman('1d0s1ms')).toEqual(
300 converterWithoutOffsets.makeTimestampFromHuman('1d1h1m1s1ms'),
307 expect(converterWithoutOffsets.makeTimestampFromHuman('1d')).toEqual(
310 expect(converterWithoutOffsets.makeTimestampFromHuman('1d1ms')).toEqual(
318 converterWithoutOffsets.makeTimestampFromHuman('1d1h1m1s0ns1ms'),
321 converterWithoutOffsets.makeTimestampFromHuman('1dns'),
324 converterWithoutOffsets.makeTimestampFromHuman('100'),
326 expect(() => converterWithoutOffsets.makeTimestampFromHuman('')).toThrow(
334 converterWithMonotonicOffset.makeTimestampFromHuman(
343 converterWithMonotonicOffset.makeTimestampFromHuman(
357 converterWithMonotonicOffset.makeTimestampFromHuman(
371 converterWithMonotonicOffset.makeTimestampFromHuman(
380 converterWithMonotonicOffset.makeTimestampFromHuman(
389 converterWithMonotonicOffset.makeTimestampFromHuman(
398 converterWithMonotonicOffset.makeTimestampFromHuman(
407 converterWithMonotonicOffset.makeTimestampFromHuman(
420 converterWithMonotonicOffset.makeTimestampFromHuman(
433 converterWithMonotonicOffset.makeTimestampFromHuman('100'),
436 converterWithMonotonicOffset.makeTimestampFromHuman(
441 converterWithMonotonicOffset.makeTimestampFromHuman(''),
444 converterWithMonotonicOffset.makeTimestampFromHuman(
449 converterWithMonotonicOffset.makeTimestampFromHuman(
454 converterWithMonotonicOffset.makeTimestampFromHuman(
463 .makeTimestampFromHuman('2022-11-10, 22:04:54.186123212')
534 .makeTimestampFromHuman('2022-11-11, 03:34:54.186123212')
544 const timestamp = converter.makeTimestampFromHuman(timestampHuman);