projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b4b7e9b73dab1e5d7aab854665ca60add4f35b96
[platform/framework/web/crosswalk-tizen.git]
/
1
var isLeapYear = require('./isLeapYear');
2
3
/**
4
* return the amount of days in the year following the gregorian calendar
5
* and leap years
6
*/
7
function totalDaysInYear(fullYear){
8
return isLeapYear(fullYear)? 366 : 365;
9
}
10
11
module.exports = totalDaysInYear;
12
13