Fix bug introduced during cleanup in JapaneseLunisolarCalendar (dotnet/coreclr#22717)
authorStephen Toub <stoub@microsoft.com>
Wed, 20 Feb 2019 18:34:32 +0000 (13:34 -0500)
committerGitHub <noreply@github.com>
Wed, 20 Feb 2019 18:34:32 +0000 (13:34 -0500)
Commit migrated from https://github.com/dotnet/coreclr/commit/4eaa54bcd29217fffadc7c6d6babcc048bb14285

src/libraries/System.Private.CoreLib/src/System/Globalization/JapaneseLunisolarCalendar.cs

index 2b018e4..cd69cb8 100644 (file)
@@ -21,7 +21,7 @@ namespace System.Globalization
         private const int MaxLunisolarYear = 2049;
 
         private static readonly DateTime s_minDate = new DateTime(1960, 1, 28);
-        private static readonly DateTime s_maxDate = new DateTime((new DateTime(2050, 1, 2, 23, 59, 59, 999)).Ticks + 9999);
+        private static readonly DateTime s_maxDate = new DateTime((new DateTime(2050, 1, 22, 23, 59, 59, 999)).Ticks + 9999);
 
         public override DateTime MinSupportedDateTime => s_minDate;