Nick Coghlan wrote: > Walter Dörwald wrote: >> [...] >> Range checks should no longer be neccessary, as any value works now. > > But now all *clients* of the Calendar class are forced to deal with the fact > that "firstweekday" may not be greater than seven. > > If you want to accept any input value, why not use a property to force it to > be modulo 7, rather than doing an actual range check? OK, the property setter does a "% 7" now. (But the global setfirstweekday() still does a range check). Bye. Walter Dörwald
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4