[TM-9]: formatUtil created to accept 'duration' in different formats