hygiene, don't expose __trans_dfmt()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, don't expose __trans_dtfmt()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, move comments where they belong

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, provide handy helper with(){} in nifty.h

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, provide and use singletons (now_tv() and now_tm()) to obtain the current date/time, ...

This changeset should give more robustness because--even though wrong--there
will be just one unique `now' all throughout a run.

Calls like ddiff now now should always return 0, even for nanosecond resolution.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide a massage routine for strpdt_s objects filling in missing values according to global `now'

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, wrap strpt_s flags in union named flags

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, follow strpt_s' union wrap of flags field in strpd_s

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, split up strpt_s' component_set field into h_set, m_set, etc.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, instead of checking strpt_s values for 0, check their set field (h_set, m_set, ...)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, don't check (or set) nanosecond field, nothing is below that in the hierarchy

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, leave a note about our massaging business in strpdt_s objects

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Revert "minor, leave a note about our massaging business in strpdt_s objects"

This reverts commit e19e7e539b63e75dde4212a0077e46546d113e2d.

Massaged in values should be transparent.
minor, go straight to time massaging in massage_strpdt() when no strpd_s field is set

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

* feat/default:
  minor, go straight to time massaging in massage_strpdt() when no strpd_s field is set
  Revert "minor, leave a note about our massaging business in strpdt_s objects"
  minor, leave a note about our massaging business in strpdt_s objects
  minor, don't check (or set) nanosecond field, nothing is below that in the hierarchy
  minor, instead of checking strpt_s values for 0, check their set field (h_set, m_set, ...)
  minor, split up strpt_s' component_set field into h_set, m_set, etc.
  hygiene, follow strpt_s' union wrap of flags field in strpd_s
  hygiene, wrap strpt_s flags in union named flags
  minor, provide a massage routine for strpdt_s objects filling in missing values according to global `now'
  hygiene, provide and use singletons (now_tv() and now_tm()) to obtain the current date/time, ...
  chore, provide handy helper with(){} in nifty.h
  hygiene, move comments where they belong
  hygiene, don't expose __trans_dtfmt()
  hygiene, don't expose __trans_dfmt()
minor, provide dflt_tm() getter/setter and use that in the massaging routine

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide api function dt_set_default()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, support --default=DT in dconv tool, using dt_set_default() and the new massaging routine

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

* feat/default:
  minor, support --default=DT in dconv tool, using dt_set_default() and the new massaging routine
  minor, provide api function dt_set_default()
  minor, provide dflt_tm() getter/setter and use that in the massaging routine
Merge branch 'next'

* next:
  minor, support --default=DT in dconv tool, using dt_set_default() and the new massaging routine
  minor, provide api function dt_set_default()
  minor, provide dflt_tm() getter/setter and use that in the massaging routine
  minor, go straight to time massaging in massage_strpdt() when no strpd_s field is set
  Revert "minor, leave a note about our massaging business in strpdt_s objects"
  minor, leave a note about our massaging business in strpdt_s objects
  minor, don't check (or set) nanosecond field, nothing is below that in the hierarchy
  minor, instead of checking strpt_s values for 0, check their set field (h_set, m_set, ...)
  minor, split up strpt_s' component_set field into h_set, m_set, etc.
  hygiene, follow strpt_s' union wrap of flags field in strpd_s
  hygiene, wrap strpt_s flags in union named flags
  minor, provide a massage routine for strpdt_s objects filling in missing values according to global `now'
  hygiene, provide and use singletons (now_tv() and now_tm()) to obtain the current date/time, ...
  chore, provide handy helper with(){} in nifty.h
  hygiene, move comments where they belong
  hygiene, don't expose __trans_dtfmt()
  hygiene, don't expose __trans_dfmt()