当前位置:网站首页>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 &
边栏推荐
- Atomic in golang and CAS operations
- 【JVM调优实战100例】04——方法区调优实战(上)
- Slow database query optimization
- ARM裸板调试之JTAG调试体验
- [Batch dos - cmd Command - Summary and Summary] - String search, find, Filter Commands (FIND, findstr), differentiation and Analysis of Find and findstr
- 随时随地查看远程试验数据与记录——IPEhub2与IPEmotion APP
- Installation of torch and torch vision in pytorch
- [100 cases of JVM tuning practice] 04 - Method area tuning practice (Part 1)
- [case sharing] basic function configuration of network loop detection
- Boot - Prometheus push gateway use
猜你喜欢
Part V: STM32 system timer and general timer programming
Dell笔记本周期性闪屏故障
Return to blowing marshland -- travel notes of zhailidong, founder of duanzhitang
ESP Arduino (IV) PWM waveform control output
动态规划思想《从入门到放弃》
Boot - Prometheus push gateway use
[牛客] B-完全平方数
HMM 笔记
Installation and testing of pyflink
ARM裸板调试之JTAG原理
随机推荐
ZABBIX 5.0: automatically monitor Alibaba cloud RDS through LLD
HMM notes
pyflink的安装和测试
NEON优化:矩阵转置的指令优化案例
通过串口实现printf函数,中断实现串口数据接收
重上吹麻滩——段芝堂创始人翟立冬游记
MySQL中回表的代价
《安富莱嵌入式周报》第272期:2022.06.27--2022.07.03
Anfulai embedded weekly report no. 272: 2022.06.27--2022.07.03
Gnet: notes on the use of a lightweight and high-performance go network framework
Mongodb client operation (mongorepository)
线段树(SegmentTree)
省市区三级坐标边界数据csv转JSON
在jupyter中实现实时协同是一种什么体验
mysql: error while loading shared libraries: libtinfo. so. 5: cannot open shared object file: No such
from . cv2 import * ImportError: libGL. so. 1: cannot open shared object file: No such file or direc
Analysis of mutex principle in golang
from .cv2 import * ImportError: libGL.so.1: cannot open shared object file: No such file or direc
【批處理DOS-CMD命令-匯總和小結】-字符串搜索、查找、篩選命令(find、findstr),Find和findstr的區別和辨析
斗地主游戏的案例开发