HandCoded.Finance.DateRoll.Following C# (CSharp) 메소드

Following() 개인적인 정적인 메소드

Adjusts a Date to the next business day if it falls on a holiday.
private static Following ( Calendar calendar, Date date ) : Date
calendar Calendar The to be used.
date Date The to adjust.
리턴 Date
        private static Date Following(Calendar calendar, Date date)
        {
            while (!calendar.IsBusinessDay (date))
                date = date.PlusDays (+1);
            return (date);
        }