issue #1 - first working draft. Downgrade to legacy Date object because of the lack of compatibility of hsqldb