Exemple #1
0
 public LiuNian(DaYun daYun, int index)
 {
     this.daYun = daYun;
     this.lunar = daYun.getLunar();
     this.index = index;
     this.year  = daYun.getStartYear() + index;
     this.age   = daYun.getStartAge() + index;
 }
Exemple #2
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;
 }