fix, initialise values returned by ymd.c's __fixup_d()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, initialise values returned by ymcw.c's __fixup_c()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'fix/general' into next

* fix/general:
  fix, initialise values returned by ymcw.c's __fixup_c()
  fix, initialise values returned by ymd.c's __fixup_d()
chore, rename __fixup_c() to __ymcw_fixup_c() to prevent name pollution

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, rename __fixup_d() to __ymd_fixup_d() to prevent name pollution

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
cosmetics, fix, use named constants instead of number literals

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, kick __ywd_add() in favour of __ywd_add_*()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, fix, do not condense years and months durations into just months (for monthless calendars)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, also fix up changes to the year in __ymcw_add_y() (for when the weekday doesn't occur as often in the new year)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, provide tests for ISO leap years (years with 53 weeks)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'feat/1step-arith' into next

* feat/1step-arith:
  test, provide tests for ISO leap years (years with 53 weeks)
  minor, also fix up changes to the year in __ymcw_add_y() (for when the weekday doesn't occur as often in the new year)
  minor, fix, do not condense years and months durations into just months (for monthless calendars)
  minor, kick __ywd_add() in favour of __ywd_add_*()
  cosmetics, fix, use named constants instead of number literals
  chore, rename __fixup_d() to __ymd_fixup_d() to prevent name pollution
  chore, rename __fixup_c() to __ymcw_fixup_c() to prevent name pollution
chore, make __ymd_get_wday() algo selectable per #define and use Sakamoto by default

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, bring test for __ymd_get_wday() that could be used as performance test

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, replace __get_jan01_wday() with a 28y cycle lookup algo

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, bring test for __get_jan01_wday() that could be used as performance test

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, make basic_* tests part of the official test suite

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, switch back to lookup algo for __ymd_get_wday() as it outperforms Sakamoto now

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, bring test for __md_get_yday() that could be used as performance test

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, purify inlines and release inlining pressue from __get_mcnt() calls

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'core/ymd' into next

* core/ymd:
  minor, purify inlines and release inlining pressue from __get_mcnt() calls
  test, bring test for __md_get_yday() that could be used as performance test
  chore, switch back to lookup algo for __ymd_get_wday() as it outperforms Sakamoto now
  test, make basic_* tests part of the official test suite
  test, bring test for __get_jan01_wday() that could be used as performance test
  minor, replace __get_jan01_wday() with a 28y cycle lookup algo
  test, bring test for __ymd_get_wday() that could be used as performance test
  chore, make __ymd_get_wday() algo selectable per #define and use Sakamoto by default