当前位置:网站首页>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 &
边栏推荐
- 第五篇,STM32系统定时器和通用定时器编程
- 资产安全问题或制约加密行业发展 风控+合规成为平台破局关键
- 【批處理DOS-CMD命令-匯總和小結】-字符串搜索、查找、篩選命令(find、findstr),Find和findstr的區別和辨析
- Do you understand this patch of the interface control devaxpress WinForms skin editor?
- 再聊聊我常用的15个数据源网站
- [batch dos-cmd command - summary and summary] - view or modify file attributes (attrib), view and modify file association types (Assoc, ftype)
- 第七篇,STM32串口通信编程
- Activereportsjs 3.1 Chinese version | | | activereportsjs 3.1 English version
- A brief history of deep learning (I)
- [牛客] [NOIP2015]跳石头
猜你喜欢
"Exquisite store manager" youth entrepreneurship incubation camp - the first phase of Shunde market has been successfully completed!
[C language] dynamic address book
UI control telerik UI for WinForms new theme - vs2022 heuristic theme
Return to blowing marshland -- travel notes of zhailidong, founder of duanzhitang
Part IV: STM32 interrupt control programming
迈动互联中标北京人寿保险,助推客户提升品牌价值
[force buckle]41 Missing first positive number
The MySQL database in Alibaba cloud was attacked, and finally the data was found
Trace tool for MySQL further implementation plan
UI控件Telerik UI for WinForms新主题——VS2022启发式主题
随机推荐
[hfctf2020]babyupload session parsing engine
NEON优化:矩阵转置的指令优化案例
Provincial and urban level three coordinate boundary data CSV to JSON
Dell笔记本周期性闪屏故障
[Niuke] b-complete square
力扣1037. 有效的回旋镖
Build your own website (17)
[batch dos-cmd command - summary and summary] - string search, search, and filter commands (find, findstr), and the difference and discrimination between find and findstr
[user defined type] structure, union, enumeration
How to evaluate load balancing performance parameters?
线段树(SegmentTree)
golang中的Mutex原理解析
【JVM调优实战100例】05——方法区调优实战(下)
资产安全问题或制约加密行业发展 风控+合规成为平台破局关键
The MySQL database in Alibaba cloud was attacked, and finally the data was found
mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such
深入探索编译插桩技术(四、ASM 探秘)
NEON优化:关于交叉存取与反向交叉存取
重上吹麻滩——段芝堂创始人翟立冬游记
[batch dos-cmd command - summary and summary] - jump, cycle, condition commands (goto, errorlevel, if, for [read, segment, extract string]), CMD command error summary, CMD error