function (date, timepicker) {
        var me = this,
            selection = timepicker.getSelectionModel().getSelection(),
            time, len, fn, val,
            i = 0,
            arr = [],
            timeFns = ['setHours', 'setMinutes', 'setSeconds', 'setMilliseconds'];


        if (selection.length) {
            time = selection[0].get('disp');

            // Loop through all of the splits and add the time values.
            arr = time.replace(me.reTime, '').split(':');

            for (len = arr.length; i < len; i++) {
                fn = timeFns[i];
                val = arr[i];

                if (val) {
                    date[fn](parseInt(val, 10));
                }
            }
        }

        return date;
    }
function (date, timepicker) {
        var me = this,
            selection = timepicker.getSelectionModel().getSelection(),
            time, len, fn, val,
            i = 0,
            arr = [],
            timeFns = ['setHours', 'setMinutes', 'setSeconds', 'setMilliseconds'];


        if (selection.length) {
            time = selection[0].get('disp');

            
            arr = time.replace(me.reTime, '').split(':');

            for (len = arr.length; i < len; i++) {
                fn = timeFns[i];
                val = arr[i];

                if (val) {
                    date[fn](parseInt(val, 10));
                }
            }
        }

        return date;
    }
function ( date , timepicker ) { var me = this , selection = timepicker . getSelectionModel ( ) . getSelection ( ) , time , len , fn , val , i = 0 , arr = [ ] , timeFns = [ 'setHours' , 'setMinutes' , 'setSeconds' , 'setMilliseconds' ] ; if ( selection . length ) { time = selection [ 0 ] . get ( 'disp' ) ; // Loop through all of the splits and add the time values. arr = time . replace ( me . reTime , '' ) . split ( ':' ) ; for ( len = arr . length ; i < len ; i ++ ) { fn = timeFns [ i ] ; val = arr [ i ] ; if ( val ) { date [ fn ] ( parseInt ( val , 10 ) ) ; } } } return date ; }
Replaces the selected value of the timepicker with the default 00:00:00.
@private
@param {Object} date
@param {Ext.picker.Time} timepicker
@return Date object
Replaces the selected value of the timepicker with the default 00 : 00 : 00 .