implement (a limited version of) xsd.date
reorganize imports