当前位置:网站首页>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 &
边栏推荐
- [user defined type] structure, union, enumeration
- Segmenttree
- Realize incremental data synchronization between MySQL and ES
- C# 计算农历日期方法 2022
- Windows installation mysql8 (5 minutes)
- Can the system hibernation file be deleted? How to delete the system hibernation file
- Do you understand this patch of the interface control devaxpress WinForms skin editor?
- 线段树(SegmentTree)
- ARM裸板调试之JTAG调试体验
- UI control telerik UI for WinForms new theme - vs2022 heuristic theme
猜你喜欢
Dell Notebook Periodic Flash Screen Fault
Analysis of mutex principle in golang
【JVM调优实战100例】04——方法区调优实战(上)
力扣1037. 有效的回旋镖
JTAG principle of arm bare board debugging
线段树(SegmentTree)
[Batch dos - cmd Command - Summary and Summary] - String search, find, Filter Commands (FIND, findstr), differentiation and Analysis of Find and findstr
pytorch之数据类型tensor
详解OpenCV的矩阵规范化函数normalize()【范围化矩阵的范数或值范围(归一化处理)】,并附NORM_MINMAX情况下的示例代码
The MySQL database in Alibaba cloud was attacked, and finally the data was found
随机推荐
[Niuke] b-complete square
Come on, don't spread it out. Fashion cloud secretly takes you to collect "cloud" wool, and then secretly builds a personal website to be the king of scrolls, hehe
JTAG principle of arm bare board debugging
Trace tool for MySQL further implementation plan
Part VI, STM32 pulse width modulation (PWM) programming
The cost of returning tables in MySQL
ARM裸板调试之JTAG原理
[牛客] [NOIP2015]跳石头
身体质量指数程序,入门写死的小程序项目
In rails, when the resource creation operation fails and render: new is called, why must the URL be changed to the index URL of the resource?
Informatics Orsay Ibn YBT 1172: find the factorial of n within 10000 | 1.6 14: find the factorial of n within 10000
筑梦数字时代,城链科技战略峰会西安站顺利落幕
Part IV: STM32 interrupt control programming
【JVM调优实战100例】05——方法区调优实战(下)
Installation and testing of pyflink
Oracle:CDB限制PDB资源实战
第五篇,STM32系统定时器和通用定时器编程
JTAG debugging experience of arm bare board debugging
golang中的atomic,以及CAS操作
The MySQL database in Alibaba cloud was attacked, and finally the data was found