Superclass for date_yq, date_ym, date_yw, and date_y.
make_date_xx can be used to create such objects when it is not know if
month or quarter information is available.
is_date_xx() checks for date_xx objects.
date_xx() is an internally used constructor
that should only be used by developers aspiring to extend the dint package.