Do not allow stuff like 2020-00-00 or 2020-13-32T25:61 or --02-30
Closes #18
Closes #65
but allow unbounded values if using TimePoint for datetime-like durations
Closes #155
Also:
Check for conflicting inputs e.g. illegally specifying both day_of_year and month_of_day|day_of_month.
Fix 1 or 2 unnoticed, minor TimePoint bugs
Plus:
Reorganise tests somewhat, because test_00.py is bloated. Move some data model tests to new test_01.py. However, a lot of the untouched tests are intertwined so moving them would result in cylic dependencies.
Do not allow stuff like
2020-00-00
or2020-13-32T25:61
or--02-30
but allow unbounded values if using TimePoint for datetime-like durations
Also:
Check for conflicting inputs e.g. illegally specifying both
day_of_year
andmonth_of_day|day_of_month
.Fix 1 or 2 unnoticed, minor TimePoint bugs
Plus:
Reorganise tests somewhat, because
test_00.py
is bloated. Move some data model tests to newtest_01.py
. However, a lot of the untouched tests are intertwined so moving them would result in cylic dependencies.When reviewing I suggest first looking at the changes I made before reorganising the tests. Then look at the reorganisation of tests changes.