Make durations flexible to allow WEEKS and DAYS

see issue #31