Add quoting of Date(Time) values.
Make SourceStub a bit more flexible.