You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm surprised by the last return (return startDay;) in DateSystem.FindDayBetween.
I think it should return null rather than startDay, shouldn't it ?
If i do FindDayBetween(2022,08,25, 2022,08,28, DayOfWeek.Tuesday), there's no tuesday between those 2 dates so I should get null, not 2022-08-25.
It seems to be used only in FinlandProvider with a 7 days interval so it shouldn't cause any problem.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm surprised by the last return (
return startDay;) in DateSystem.FindDayBetween.I think it should return null rather than startDay, shouldn't it ?
If i do
FindDayBetween(2022,08,25, 2022,08,28, DayOfWeek.Tuesday), there's no tuesday between those 2 dates so I should get null, not 2022-08-25.It seems to be used only in FinlandProvider with a 7 days interval so it shouldn't cause any problem.
What do you think ?
All reactions