source: imaps-frontend/node_modules/es-abstract/2022/DayWithinYear.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 286 bytes
RevLine 
[d565449]1'use strict';
2
3var Day = require('./Day');
4var DayFromYear = require('./DayFromYear');
5var YearFromTime = require('./YearFromTime');
6
7// https://262.ecma-international.org/5.1/#sec-15.9.1.4
8
9module.exports = function DayWithinYear(t) {
10 return Day(t) - DayFromYear(YearFromTime(t));
11};
Note: See TracBrowser for help on using the repository browser.