fixed bug TDQ-9350 Fix failed junit test DQStructureComparerTest
and TDQ-9591 fix DatePatternRetrieverTest (caused by TDQ-9405)