* @param max the maximum value
* @param callback the callback function
* @return the Runnable responsible for opening the dialog
*/
public static Runnable getDateTimeRunnable( String type, String value, String min, String max, ScriptableFunction callback) {
IWebWorksDialog d = new DateTimeDialog( type, value, min, max );
return new DialogRunnable( d, callback );
}