Skip to content

Use unsigned right-shift consistently in ImmutableHolidayCalendar#2169

Merged
jodastephen merged 1 commit into
masterfrom
topic/use-unsigned-shift
May 29, 2020
Merged

Use unsigned right-shift consistently in ImmutableHolidayCalendar#2169
jodastephen merged 1 commit into
masterfrom
topic/use-unsigned-shift

Conversation

@wjnicholson
Copy link
Copy Markdown
Contributor

Imagined that signed right-shift (>>) could potentially pull a holiday bit from the 32nd day of the month (admittedly an impossibility on the gregorian calendar).
Slightly nicer format for the daysBetween implementation I put in though, and another part of the class was using unsigned shift so looks a bit more consistent.

@wjnicholson wjnicholson requested a review from jodastephen May 29, 2020 15:26
@jodastephen jodastephen merged commit d786a1a into master May 29, 2020
@delete-merged-branch delete-merged-branch Bot deleted the topic/use-unsigned-shift branch May 29, 2020 15:29
@jodastephen jodastephen added this to the v2.8 milestone Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants