Implement time duration for parser and task