当前位置:网站首页>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 &
边栏推荐
- 资产安全问题或制约加密行业发展 风控+合规成为平台破局关键
- 【js】获取当前时间的前后n天或前后n个月(时分秒年月日都可)
- golang中的Mutex原理解析
- Deeply explore the compilation and pile insertion technology (IV. ASM exploration)
- 在jupyter中实现实时协同是一种什么体验
- [牛客] [NOIP2015]跳石头
- Tencent cloud webshell experience
- [牛客] B-完全平方数
- Informatics Olympiad YBT 1171: factors of large integers | 1.6 13: factors of large integers
- Link sharing of STM32 development materials
猜你喜欢
ARM裸板调试之JTAG原理
Segmenttree
Dell筆記本周期性閃屏故障
Can the system hibernation file be deleted? How to delete the system hibernation file
Dynamic planning idea "from getting started to giving up"
【批處理DOS-CMD命令-匯總和小結】-字符串搜索、查找、篩選命令(find、findstr),Find和findstr的區別和辨析
Building a dream in the digital era, the Xi'an station of the city chain science and Technology Strategy Summit ended smoothly
Dell Notebook Periodic Flash Screen Fault
boot - prometheus-push gateway 使用
资产安全问题或制约加密行业发展 风控+合规成为平台破局关键
随机推荐
Batch obtain the latitude coordinates of all administrative regions in China (to the county level)
重上吹麻滩——段芝堂创始人翟立冬游记
Rainstorm effect in levels - ue5
Windows installation mysql8 (5 minutes)
tensorflow 1.14指定gpu运行设置
【批處理DOS-CMD命令-匯總和小結】-字符串搜索、查找、篩選命令(find、findstr),Find和findstr的區別和辨析
Telerik UI 2022 R2 SP1 Retail-Not Crack
Mongodb client operation (mongorepository)
Gnet: notes on the use of a lightweight and high-performance go network framework
Can the system hibernation file be deleted? How to delete the system hibernation file
"Exquisite store manager" youth entrepreneurship incubation camp - the first phase of Shunde market has been successfully completed!
Tensorflow 1.14 specify GPU running settings
boot - prometheus-push gateway 使用
mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such
Supersocket 1.6 creates a simple socket server with message length in the header
pytorch之数据类型tensor
省市区三级坐标边界数据csv转JSON
Implementation principle of waitgroup in golang
负载均衡性能参数如何测评?
Fastdfs data migration operation record