System.Globalization.CCGregorianCalendar.day_number C# (CSharp) Method

day_number() public static method

The method computes the number of the day in the year from a Gregorian date.
public static day_number ( int day, int month, int year ) : int
day int An integer representing the day of the month, /// counting from 1. ///
month int An integer representing the month in the /// Gregorian year. ///
year int An integer representing the Gregorian year. /// Non-positive values are allowed also. ///
return int
	public static int day_number(int day, int month, int year) {
		return date_difference(31, (int)Month.december, year-1,
			day, month, year);
	}