Skip to content

Commit

Permalink
JapanProvider - remove Obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Dec 13, 2023
1 parent 9715a47 commit d79f747
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Nager.Date/PublicHolidays/JapanProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,6 @@ public IEnumerable<PublicHoliday> GetHolidays(int year)
return items.OrderBy(o => o.Date);
}

/// <summary>
/// Get the Golden Week for a given year
/// </summary>
/// <see href="https://en.wikipedia.org/wiki/Golden_Week_(Japan)" />
/// <param name="year"></param>
[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;
}

/// <summary>
/// Adds the emperor's birthday based on the era/emperor of the current year.
/// </summary>
Expand Down

0 comments on commit d79f747

Please sign in to comment.