public static void setTime ( Datebox datebox , Timebox timebox , Date value ) { value = value == null ? new Date ( ) : value ; datebox . setValue ( DateUtil . stripTime ( value ) ) ; timebox . setValue ( value ) ; }
Sets the UI to reflect the specified time .