better matcher for end_of_day difference between 1.8 and 1.9 in oracle