示例#1
0
        public static int GetMonthNumberDays(MiMFa_Date ThisDate)
        {
            MiMFa_Date md = new MiMFa_Date();

            ThisDate.CopyTo(md);
            md.Month++;
            md.Day = 1;
            md.Day--;
            return(md.Day);
        }
示例#2
0
        public static List <MiMFa_Date> GetDateList(MiMFa_Date ofThisDate, int length)
        {
            List <MiMFa_Date> lmd = new List <MiMFa_Date>();
            MiMFa_Date        md  = new MiMFa_Date();

            ofThisDate.CopyTo(md);
            for (int i = 0; i < length; i++)
            {
                MiMFa_Date m = new MiMFa_Date();
                md.CopyTo(m);
                lmd.Add(m);
                md.Day++;
            }
            return(lmd);
        }