changed parameter type of two duration-methods

see issue #106