diff options
Diffstat (limited to 'src/mscorlib/corefx/System/Globalization/JapaneseLunisolarCalendar.cs')
-rw-r--r-- | src/mscorlib/corefx/System/Globalization/JapaneseLunisolarCalendar.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mscorlib/corefx/System/Globalization/JapaneseLunisolarCalendar.cs b/src/mscorlib/corefx/System/Globalization/JapaneseLunisolarCalendar.cs index ecdaced2d7..cc3d34954d 100644 --- a/src/mscorlib/corefx/System/Globalization/JapaneseLunisolarCalendar.cs +++ b/src/mscorlib/corefx/System/Globalization/JapaneseLunisolarCalendar.cs @@ -206,9 +206,9 @@ namespace System.Globalization } } - internal override int GetYearInfo(int LunarYear, int Index) + internal override int GetYearInfo(int lunarYear, int index) { - if ((LunarYear < MIN_LUNISOLAR_YEAR) || (LunarYear > MAX_LUNISOLAR_YEAR)) + if ((lunarYear < MIN_LUNISOLAR_YEAR) || (lunarYear > MAX_LUNISOLAR_YEAR)) { throw new ArgumentOutOfRangeException( "year", @@ -220,7 +220,7 @@ namespace System.Globalization } Contract.EndContractBlock(); - return s_yinfo[LunarYear - MIN_LUNISOLAR_YEAR, Index]; + return s_yinfo[lunarYear - MIN_LUNISOLAR_YEAR, index]; } internal override int GetYear(int year, DateTime time) |