made date parser threadsafe