Revert "Simplified Tree.hasDateTrait()."

This reverts commit ce4faa832f6540471854517470aaae4a83062b70.