From f787f16fb51d2a7bc3ea723836f7af4f6b53e8ef Mon Sep 17 00:00:00 2001 From: Rogier Schouten Date: Fri, 27 Jun 2014 12:28:44 +0200 Subject: [PATCH] Add two methods add() and sub() to timezonecomplete.d.ts --- timezonecomplete/timezonecomplete.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/timezonecomplete/timezonecomplete.d.ts b/timezonecomplete/timezonecomplete.d.ts index 10538b92c0..085db4066a 100644 --- a/timezonecomplete/timezonecomplete.d.ts +++ b/timezonecomplete/timezonecomplete.d.ts @@ -152,6 +152,16 @@ declare module 'timezonecomplete' { * @return a new Duration of (this * value) */ multiply(value: number): Duration; + /** + * Add a duration. + * @return a new Duration of (this + value) + */ + add(value: Duration): Duration; + /** + * Subtract a duration. + * @return a new Duration of (this - value) + */ + sub(value: Duration): Duration; /** * String in [-]hh:mm:ss.nnn notation. All fields are * always present except the sign.