Sign in
apache
/
cordova-create
/
67de95665d8f0d96e13fdd98f9cd6a69c0d9e637
/
.
/
node_modules
/
npm
/
node_modules
/
node-gyp
/
node_modules
/
path-array
/
node_modules
/
array-index
/
node_modules
/
es6-symbol
/
node_modules
/
es5-ext
/
date
/
#
/
days-in-month.js
blob: e780efe3c7f99e41a5855cffe2363709b1123958 [
file
] [
log
] [
blame
]
'use strict'
;
var
getMonth
=
Date
.
prototype
.
getMonth
;
module
.
exports
=
function
()
{
switch
(
getMonth
.
call
(
this
))
{
case
1
:
return
this
.
getFullYear
()
%
4
?
28
:
29
;
case
3
:
case
5
:
case
8
:
case
10
:
return
30
;
default
:
return
31
;
}
};