예제 #1
0
        private static DateTime CalcTonDate(DateTime newsTime)
        {
            var holiday     = new Holidays();
            var currentDate = newsTime;

            currentDate = currentDate.AddDays(1);

            while (!holiday.DetTradeDay(currentDate))
            {
                currentDate = currentDate.AddDays(1);
            }

            return(currentDate);
        }