def date_struct_nn(year, month, day, tz="<STR_LIT>"):
if not day:<EOL><INDENT>day = <NUM_LIT:1><EOL><DEDENT>if not month:<EOL><INDENT>month = <NUM_LIT:1><EOL><DEDENT>return date_struct(year, month, day, tz)<EOL>
Assemble a date object but if day or month is none set them to 1
to make it easier to deal with partial dates