test, add some dconv tests re week-count conventions, parsing this time

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, don't use bitfields for week-count conventions in token spec struct

This avoids conflicting bits set in token struct.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide dt_get_wcnt_year() in analogy to dt_get_wcnt_mon()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, distinguish between %C and %W

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, actually copy over the week-count convention from the specs in __strpd_card()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide __ycw_get_wday() and a case in dt_get_wday() for ycw objects

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

* core/dt-io:
  minor, provide __ycw_get_wday() and a case in dt_get_wday() for ycw objects
  fix, actually copy over the week-count convention from the specs in __strpd_card()
  fix, PEBKAC, distinguish between %C and %W
  minor, provide dt_get_wcnt_year() in analogy to dt_get_wcnt_mon()
  minor, don't use bitfields for week-count conventions in token spec struct
  test, add some dconv tests re week-count conventions, parsing this time
major, rename recently added ycw calendar to ywd (and make it strictly ISO)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, compute the hang right away when building ywd objects in __guess_dtyp()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, change enumeration of week-count conventions

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide __make_ywd() to convert any week-count convention to iso and hand out ywd objects with hang

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide extra flag c_wcnt_p in strpd_s struct to denote ...

that d.c is legitimately 0, for instance in ywd calendars with the monday or sunday week-count convention

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, return proper month-of-year in dt_get_mon() for YWD objects

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, change default printed representation of YWD to yyyy-Www-dd just like ISO recommends

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, provide some test for different YWD inputs and conversions

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, massage the result of dt_get_md()

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

* core/dt-io:
  fix, massage the result of dt_get_md()
  test, provide some test for different YWD inputs and conversions
  minor, change default printed representation of YWD to yyyy-Www-dd just like ISO recommends
  minor, return proper month-of-year in dt_get_mon() for YWD objects
  minor, provide extra flag c_wcnt_p in strpd_s struct to denote ...
  minor, provide __make_ywd() to convert any week-count convention to iso and hand out ywd objects with hang
  minor, change enumeration of week-count conventions
  minor, compute the hang right away when building ywd objects in __guess_dtyp()
  major, rename recently added ycw calendar to ywd (and make it strictly ISO)
Merge branch 'next'

* next:
  fix, massage the result of dt_get_md()
  test, provide some test for different YWD inputs and conversions
  minor, change default printed representation of YWD to yyyy-Www-dd just like ISO recommends
  minor, return proper month-of-year in dt_get_mon() for YWD objects
  minor, provide extra flag c_wcnt_p in strpd_s struct to denote ...
  minor, provide __make_ywd() to convert any week-count convention to iso and hand out ywd objects with hang
  minor, change enumeration of week-count conventions
  minor, compute the hang right away when building ywd objects in __guess_dtyp()
  major, rename recently added ycw calendar to ywd (and make it strictly ISO)
  minor, provide __ycw_get_wday() and a case in dt_get_wday() for ycw objects
  fix, actually copy over the week-count convention from the specs in __strpd_card()
  fix, PEBKAC, distinguish between %C and %W
  minor, provide dt_get_wcnt_year() in analogy to dt_get_wcnt_mon()
  minor, don't use bitfields for week-count conventions in token spec struct
  test, add some dconv tests re week-count conventions, parsing this time