src/lay/modules/laydate.js
function(){
        lay(ul).find('ol').each(function(i, ol){
          lay(ol).find('li').each(function(ii, li){
            that.limit(lay(li), [{
              hours: ii
            }, {
              hours: that[startEnd].hours
              ,minutes: ii
            }, {
              hours: that[startEnd].hours
              ,minutes: that[startEnd].minutes
              ,seconds: ii
            }][i], index, [['hours'], ['hours', 'minutes'], ['hours', 'minutes', 'seconds']][i]);
          });
        });
        if(!options.range) that.limit(lay(that.footer).find(ELEM_CONFIRM), that[startEnd], 0, ['hours', 'minutes', 'seconds']);
      }
function(){
        lay(ul).find('ol').each(function(i, ol){
          lay(ol).find('li').each(function(ii, li){
            that.limit(lay(li), [{
              hours: ii
            }, {
              hours: that[startEnd].hours
              ,minutes: ii
            }, {
              hours: that[startEnd].hours
              ,minutes: that[startEnd].minutes
              ,seconds: ii
            }][i], index, [['hours'], ['hours', 'minutes'], ['hours', 'minutes', 'seconds']][i]);
          });
        });
        if(!options.range) that.limit(lay(that.footer).find(ELEM_CONFIRM), that[startEnd], 0, ['hours', 'minutes', 'seconds']);
      }
function ( ) { lay ( ul ) . find ( 'ol' ) . each ( function ( i , ol ) { lay ( ol ) . find ( 'li' ) . each ( function ( ii , li ) { that . limit ( lay ( li ) , [ { hours : ii } , { hours : that [ startEnd ] . hours , minutes : ii } , { hours : that [ startEnd ] . hours , minutes : that [ startEnd ] . minutes , seconds : ii } ] [ i ] , index , [ [ 'hours' ] , [ 'hours' , 'minutes' ] , [ 'hours' , 'minutes' , 'seconds' ] ] [ i ] ) ; } ) ; } ) ; if ( ! options . range ) that . limit ( lay ( that . footer ) . find ( ELEM_CONFIRM ) , that [ startEnd ] , 0 , [ 'hours' , 'minutes' , 'seconds' ] ) ; }
时间列表 检测时分秒状态是否在有效日期时间范围内
时间列表 检测时分秒状态是否在有效日期时间范围内