[PATCH v3 4/7] taskschd: Implement IRepetitionPattern_get_Duration().