CoreLibraries icon indicating copy to clipboard operation
CoreLibraries copied to clipboard

The PeriodicSchedule.FirstDayOfWeek field is unused

Open billings7 opened this issue 9 years ago • 3 comments

The FirstDayOfWeek field in the PeriodicSchedule is unused. Looking at the history, I think the field can just be removed,

billings7 avatar Oct 27 '17 23:10 billings7

FirstDayOfWeek affects week number calculation. It maybe that it is not being correctly considered; however, I vaguely recall it being used somewhere so don’t just delete until we’ve fully checked.

thargy avatar Oct 27 '17 23:10 thargy

I had a look around and it doesn't appear to be used anywhere, Its a built in .Net Framework type, and it was used to calculate the time back before it was converted to use NodaTime.

billings7 avatar Oct 28 '17 14:10 billings7

Ok, as this is now handled by the NodaTime.CalendarSystem then this can be removed safely.

thargy avatar Jun 14 '18 12:06 thargy