ActionScript 3指定的年份是否为闰年

示例

function isLeapYear(year:int):Boolean {
    return daysInMonth(year, 1) == 29;
}