#15 implementation method getTransctionDuration