dashboard
repositories
filestore
activity
search
login
εθδΉ
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Merge remote-tracking branch 'origin/master'
Administrator
2023-08-12
7858eb4e7b766483ebbc0dcfdd6dbeb4f4b966d2
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
es-abstract
/
2018
/
DayFromYear.js
1
2
3
4
5
6
7
8
9
'use strict';
var floor = require('./floor');
// https://262.ecma-international.org/5.1/#sec-15.9.1.3
module.exports = function DayFromYear(y) {
return (365 * (y - 1970)) + floor((y - 1969) / 4) - floor((y - 1901) / 100) + floor((y - 1601) / 400);
};