Exemplo n.º 1
0
 public XiaoYun(DaYun daYun, int index, bool forward)
 {
     this.daYun   = daYun;
     this.lunar   = daYun.getLunar();
     this.index   = index;
     this.year    = daYun.getStartYear() + index;
     this.age     = daYun.getStartAge() + index;
     this.forward = forward;
 }
Exemplo n.º 2
0
        /// <summary>
        /// 获取大运
        /// </summary>
        /// <returns>大运</returns>
        public DaYun[] getDaYun()
        {
            int n = 10;

            DaYun[] l = new DaYun[n];
            for (int i = 0; i < n; i++)
            {
                l[i] = new DaYun(this, i);
            }
            return(l);
        }