[4.2] Support : Add duration trait

And refactor `getSeconds` so that `getTime` is not necessary anymore
Lynx Eye