days_in_year() public static method

The functions gives the number of days in the specified Hebrew year.
public static days_in_year ( int year ) : int
year int An integer that gives the Hebrew year. ///
return int
コード例 #1
0
 public static bool long_heshvan(int year)
 {
     return(CCMath.mod(CCHebrewCalendar.days_in_year(year), 10) == 5);
 }
コード例 #2
0
 public static bool short_kislev(int year)
 {
     return(CCMath.mod(CCHebrewCalendar.days_in_year(year), 10) == 3);
 }