Exemple #1
0
 /// <summary>
 /// 获取一串交易日的List
 /// </summary>
 /// <param name="firstDate">开始日期(int型)</param>
 /// <param name="lastDate">结束日期(int型)</param>
 /// <returns></returns>
 public static List <DateTime> GetTradeDays(int firstDate, int lastDate)
 {
     return(GetTradeDays(
                Kit.ToDateTime(firstDate, 0), //将int转换成DateTime类型
                Kit.ToDateTime(lastDate, 235959)));
 }