System.Globalization.CCHebrewCalendar.days_in_year C# (CSharp) Method

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
	public static int days_in_year(int year) {
		return	fixed_from_dmy(1, 7, year+1) -
			fixed_from_dmy(1, 7, year);
	}

Usage Example

Esempio n. 1
0
 public static bool long_heshvan(int year)
 {
     return(CCMath.mod(CCHebrewCalendar.days_in_year(year), 10) == 5);
 }
All Usage Examples Of System.Globalization.CCHebrewCalendar::days_in_year