system\globalization\CalendricalCalculationsHelper.cs (15)
92public EphemerisCorrectionAlgorithmMap(int year, CorrectionAlgorithm algorithm)
99internal CorrectionAlgorithm _algorithm;
105new EphemerisCorrectionAlgorithmMap(2020, CorrectionAlgorithm.Default),
106new EphemerisCorrectionAlgorithmMap(1988, CorrectionAlgorithm.Year1988to2019),
107new EphemerisCorrectionAlgorithmMap(1900, CorrectionAlgorithm.Year1900to1987),
108new EphemerisCorrectionAlgorithmMap(1800, CorrectionAlgorithm.Year1800to1899),
109new EphemerisCorrectionAlgorithmMap(1700, CorrectionAlgorithm.Year1700to1799),
110new EphemerisCorrectionAlgorithmMap(1620, CorrectionAlgorithm.Year1620to1699),
111new EphemerisCorrectionAlgorithmMap(int.MinValue, CorrectionAlgorithm.Default) // default must be last
208case CorrectionAlgorithm.Default: return DefaultEphemerisCorrection(year);
209case CorrectionAlgorithm.Year1988to2019: return EphemerisCorrection1988to2019(year);
210case CorrectionAlgorithm.Year1900to1987: return EphemerisCorrection1900to1987(year);
211case CorrectionAlgorithm.Year1800to1899: return EphemerisCorrection1800to1899(year);
212case CorrectionAlgorithm.Year1700to1799: return EphemerisCorrection1700to1799(year);
213case CorrectionAlgorithm.Year1620to1699: return EphemerisCorrection1620to1699(year);