9 references to DaysPer400Years
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (9)
69
private const int DaysTo1601 =
DaysPer400Years
* 4; // 584388
71
private const int DaysTo1899 =
DaysPer400Years
* 4 + DaysPer100Years * 3 - 367;
73
internal const int DaysTo1970 =
DaysPer400Years
* 4 + DaysPer100Years * 3 + DaysPer4Years * 17 + DaysPerYear; // 719,162
75
internal const int DaysTo10000 =
DaysPer400Years
* 25 - 366; // 3652059
1359
(uint y100, uint r1) = Math.DivRem(((uint)((dateData & TicksMask) / TicksPer6Hours) | 3U) + 1224,
DaysPer400Years
);
1421
uint r1 = (((uint)(UTicks / TicksPer6Hours) | 3U) + 1224) %
DaysPer400Years
;
1441
1 + (int)(((((uint)(UTicks / TicksPer6Hours) | 3U) % (uint)
DaysPer400Years
) | 3U) * EafMultiplier / EafDivider);
1497
uint r1 = (((uint)(UTicks / TicksPer6Hours) | 3U) + 1224) %
DaysPer400Years
;
1556
(uint y100, uint r1) = Math.DivRem(((uint)((dateData & TicksMask) / TicksPer6Hours) | 3U),
DaysPer400Years
);