public String formatDate ( Date d ) { if ( d == null ) return null ; JsDate jsd = JsDate . create ( d . getTime ( ) ) ; return internFormat ( input . getElement ( ) , getActiveDateFormat ( ) , jsd ) ; }
Doesn t change anything just formats passed date as string according to widget s current settings .