nl_tokens: Replaces the selected value of the timepicker with the default 00 : 00 : 00 .
pl_tokens: 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 . <mask> ( 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 ; }