Move Initializer::toDt into a visitor class
Merge pull request #3207 from yebblies/inittodt

[DDMD] [refactor] Move Initializer::toDt into a visitor class