/** * Creates a new UTCDateBox * * @deprecated Use {@link UTCDateBox#UTCDateBox(DateTimeFormat)} instead. DatePicker and * DateBox.Format are now ignored. */ @Deprecated public UTCDateBox(DatePicker picker, long date, DateBox.Format format) { this(); impl.setValue(date); }
/** * Sets the value in the DateBox. * * @param value A time measured in the number of milliseconds since January 1, 1970, 00:00:00 GMT. * This time should be at midnight in GMT for the Date selected. * <p>If value is null or represents a negative number, the DateBox will have no value. */ @Override public void setValue(Long value, boolean fireEvents) { impl.setValue(value, fireEvents); }