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

my_from_fixed() public static method

The method computes the Hebrew year and month from a fixed day number.
public static my_from_fixed ( int &month, int &year, int date ) : void
month int The output value giving the Hebrew month. ///
year int The output value giving the Hebrew year. ///
date int An integer value specifying the fixed day /// number.
return void
	public static void my_from_fixed(out int month, out int year,
		int date)
	{
		year = year_from_fixed(date);

		int start = date < fixed_from_dmy(1, 1, year) ? 7 : 1;

		for (month = start;
		     date > fixed_from_dmy(last_day_of_month(month, year),
		     				month, year);
		     month++)
		{}
	}

Usage Example

Example #1
0
        public static int month_from_fixed(int date)
        {
            int result;
            int num;

            CCHebrewCalendar.my_from_fixed(out result, out num, date);
            return(result);
        }
All Usage Examples Of System.Globalization.CCHebrewCalendar::my_from_fixed