/// <summary> /// 获取流年 /// </summary> /// <returns>流年</returns> public LiuNian[] getLiuNian() { int n = 10; if (index < 1) { n = endYear - startYear + 1; } LiuNian[] l = new LiuNian[n]; for (int i = 0; i < n; ++i) { l[i] = new LiuNian(this, i); } return(l); }
public LiuYue(LiuNian liuNian, int index) { this.liuNian = liuNian; this.index = index; }