static
Class jsbeans.date
static
Date
add
(
date
,
rollerType
,
[amount]
)
date
<Date>
a starting date
rollerType
<Integer>
use jsbeans.date.YEAR
, jsbeans.date.MONTH
, jsbeans.date.DATE
, ...
[amount]
<Integer>
how much to roll. May be negative. Default 1
Date
date
in rollerType
by amount
static
Integer
getDaysInMonth
(
date
)
date
date
<Date>
Integer
static
boolean
isLeapYear
(
object
)
object
<Date | Integer>
boolean