Sha256: 41a9b9da3ede4effd12c43e1c25851b5005623f5eb6dee707252cbe373b32ef0
Contents?: true
Size: 328 Bytes
Versions: 452
Compression:
Stored size: 328 Bytes
Contents
'use strict'; var $isFinite = require('../helpers/isFinite'); var msPerDay = require('../helpers/timeConstants').msPerDay; // https://262.ecma-international.org/5.1/#sec-15.9.1.13 module.exports = function MakeDate(day, time) { if (!$isFinite(day) || !$isFinite(time)) { return NaN; } return (day * msPerDay) + time; };
Version data entries
452 entries across 44 versions & 4 rubygems