public static JsDate addMinutes(this JsDate date, int minutes) { var date2 = new JsDate(date.valueOf()); date2.setMinutes(date2.getMinutes() + minutes); return(date2); }