System.Globalization.CCFixed.kd_nearest C# (CSharp) Method

kd_nearest() public static method

The static method computes the date of a day of week that is nearest to a particular date.
public static kd_nearest ( int date, int k ) : int
date int An integer representing the date as /// fixed day number. ///
k int An integer representing the day of the week, /// starting with 0 for sunday. ///
return int
	public static int kd_nearest(int date, int k) {
		return kday_on_or_before(date+3, k);
	}