added date parser in TimeBasedRollingFileLogger.
pull out getDuration/getDate func from TableParser to QueryTokenizer