From 9cda0b9350077b718358d062abcb8de389acbc13 Mon Sep 17 00:00:00 2001 From: ddaijianping <75668578@qq.com> Date: Tue, 12 Nov 2024 19:41:10 +0800 Subject: [PATCH] =?UTF-8?q?2025=E5=B9=B4=E5=81=87=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NewLife.Holiday/China/2025.csv | 12 ++++++++++++ NewLife.Holiday/NewLife.Holiday.csproj | 1 + Test/Program.cs | 4 ++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 NewLife.Holiday/China/2025.csv diff --git a/NewLife.Holiday/China/2025.csv b/NewLife.Holiday/China/2025.csv new file mode 100644 index 0000000..8c75538 --- /dev/null +++ b/NewLife.Holiday/China/2025.csv @@ -0,0 +1,12 @@ +Name,Date,Days,Status +元旦,2025/1/1,1,1 +春节,2025/1/28,8,1 +春节,2025/1/26,1,2 +春节,2025/2/8,1,2 +清明节,2025/4/4,3,1 +劳动节,2025/5/1,5,1 +劳动节,2025/4/27,1,2 +端午节,2025/5/31,3,1 +国庆节,2025/10/1,8,1 +国庆节,2025/9/28,1,2 +国庆节,2025/10/11,1,2 diff --git a/NewLife.Holiday/NewLife.Holiday.csproj b/NewLife.Holiday/NewLife.Holiday.csproj index 234ea4a..7638147 100644 --- a/NewLife.Holiday/NewLife.Holiday.csproj +++ b/NewLife.Holiday/NewLife.Holiday.csproj @@ -58,6 +58,7 @@ + diff --git a/Test/Program.cs b/Test/Program.cs index db2fa52..b1d20f1 100644 --- a/Test/Program.cs +++ b/Test/Program.cs @@ -35,8 +35,8 @@ private static void Main(String[] args) private static void Test1() { - //var ch = new ChinaHoliday(); - var ch = new GuangxiHoliday(); + var ch = new ChinaHoliday(); + //var ch = new GuangxiHoliday(); foreach (var item in ch.Infos) { XTrace.WriteLine("{0} {1} {2} {3}", item.Name, item.Date, item.Days, item.Status.GetDescription());