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

dmy_from_fixed() public static method

The method computes the Gregorian year, month, and day from a fixed day number.
public static dmy_from_fixed ( int &day, int &month, int &year, int date ) : void
day int The output value returning the day of the /// month. ///
month int The output value giving the Gregorian month. ///
year int The output value giving the Gregorian year. ///
date int An integer value specifying the fixed day /// number.
return void
	public static void dmy_from_fixed(out int day, out int month,
		out int year,
		int date)
	{
		my_from_fixed(out month, out year, date);
		day = date - fixed_from_dmy(1, month, year) + 1;
	}

Usage Example

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

            CCGregorianCalendar.dmy_from_fixed(out result, out num, out num2, date);
            return(result);
        }
All Usage Examples Of System.Globalization.CCGregorianCalendar::dmy_from_fixed