; i <= chineseDate.GetMonthsInYear(DateTime.Now.Year); i++)
            {
                Console.Write("{0,-5}",chineseDate.GetDaysInMonth(DateTime.Now.Year,i));
            }
        }
    }
}

运行结果:

由.Net类库提供的农历计算(C#农历)-获取当前日期的农历日期-LMLPHP

05-07 15:57