From d79f74787d544743f5b4dd9bffb8f256d47c847f Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Wed, 13 Dec 2023 21:49:21 +0100 Subject: [PATCH] JapanProvider - remove Obsolete code --- src/Nager.Date/PublicHolidays/JapanProvider.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/Nager.Date/PublicHolidays/JapanProvider.cs b/src/Nager.Date/PublicHolidays/JapanProvider.cs index f6c3170d..fd65bd47 100644 --- a/src/Nager.Date/PublicHolidays/JapanProvider.cs +++ b/src/Nager.Date/PublicHolidays/JapanProvider.cs @@ -62,19 +62,6 @@ public IEnumerable GetHolidays(int year) return items.OrderBy(o => o.Date); } - /// - /// Get the Golden Week for a given year - /// - /// - /// - [Obsolete("Not a holiday logic")] - public DateTime GetGoldenWeekStartDate(int year) - { - var showaDay = new DateTime(year, 4, 29).Shift(saturday => saturday, sunday => sunday.AddDays(1)); - - return showaDay; - } - /// /// Adds the emperor's birthday based on the era/emperor of the current year. ///