String toBgColor) /*-{
this.addGradientRange(from, to, color, fromBgColor, toBgColor);
}-*/;
public final void addRange(Date from, Date to, String color, String bgColor) {
JsDate fromValue = DateHelper.getJsDate(from);
JsDate toValue = DateHelper.getJsDate(to);
this.addRange(fromValue, toValue, color, bgColor);
}