Update JapaneseLunisolarCalendar.cs (dotnet/coreclr#19504)
authorelyoh <elyoh@users.noreply.github.com>
Thu, 16 Aug 2018 01:03:50 +0000 (02:03 +0100)
committerTarek Mahmoud Sayed <tarekms@microsoft.com>
Thu, 16 Aug 2018 01:03:50 +0000 (18:03 -0700)
commitb2b1199833b0a5a254e0bd7b62ae5c0bca82aaeb
tree9471c62a65f497e924f2b8441270dd26b3c69ed5
parent45a8740151dbb71e04d169ffc3af59f59cf9b3c5
Update JapaneseLunisolarCalendar.cs (dotnet/coreclr#19504)

Corrects an issue with the conversion table for Gregorian to Japanese lunisolar dates.
See: dotnet/coreclr#19450.

Issue: data discrepancy in year 1962.
Table entry for 1962 has incorrect days per month for months 6 and 7.

Notes
The DaysPerMonth flag uses the binary literal for ease of readability.

Commit migrated from https://github.com/dotnet/coreclr/commit/c258c092b125aa607b669649ddd0e2c0107ccf06
src/libraries/System.Private.CoreLib/src/System/Globalization/JapaneseLunisolarCalendar.cs