bug fix for year-only date
better failing on enc.date() when month or day invalid [WG-20]
added enc.dateSortable()