当前位置:网站首页>C # method of calculating lunar calendar date 2022

C # method of calculating lunar calendar date 2022

2022-07-07 01:13:00 Jinan medical applet champion

    

using System;
using System.Collections;
using System.Globalization;

namespace  Method of calculating lunar calendar date 
{
    public class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");




            //ChinaDate DemoTime = new ChinaDate();

            //DemoTime. ChinaDate.GetChinaDate(DateTime dt) // Get the lunar date 


            //ChinaDate.GetChinaDate(DateTime dt) // Get the lunar date 





        }

        #region  class  
        //  Copy class    Get rid of static , Class can be instantiated  
        public static class ChinaDate
        {
            private static ChineseLunisolarCalendar china = new ChineseLunisolarCalendar();
            private static Hashtable gHoliday = new Hashtable();
            private static Hashtable nHoliday = new Hashtable();
            private static string[] JQ = { " slight cold ", " Severe cold ", " Beginning of spring ", " Rain ", " The Waking of Insects ", " Vernal equinox ", " Qingming ", " Grain Rain ", " Beginning of summer ", " grain full &
原网站

版权声明
本文为[Jinan medical applet champion]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207061722547173.html