System.Globalization.CCHijriCalendar.date_difference C# (CSharp) Метод

date_difference() публичный статический Метод

The method computes the difference between two Islamic dates.
public static date_difference ( int dayA, int monthA, int yearA, int dayB, int monthB, int yearB ) : int
dayA int The integer parameter gives the day of month /// of the first date. ///
monthA int The integer parameter gives the Islamic /// month of the first date. ///
yearA int The integer parameter gives the Islamic /// year of the first date. ///
dayB int The integer parameter gives the day of month /// of the second date. ///
monthB int The integer parameter gives the Islamic /// month of the second date. ///
yearB int The integer parameter gives the Islamic /// year of the second date. ///
Результат int
	public static int date_difference(int dayA, int monthA, int yearA,
		int dayB, int monthB, int yearB)
	{
		return	fixed_from_dmy(dayB, monthB, yearB) -
			fixed_from_dmy(dayA, monthA, yearA);
	}

Usage Example

 public static int days_remaining(int day, int month, int year)
 {
     return(CCHijriCalendar.date_difference(day, month, year, 31, 12, year));
 }
All Usage Examples Of System.Globalization.CCHijriCalendar::date_difference