public static days_in_year ( int year ) : int | ||
year | int | An integer that gives the Hebrew year. /// |
리턴 | int |
public static int days_in_year(int year) {
return fixed_from_dmy(1, 7, year+1) -
fixed_from_dmy(1, 7, year);
}
public static bool long_heshvan(int year) { return(CCMath.mod(CCHebrewCalendar.days_in_year(year), 10) == 5); }