code: function(options) {
        
        inputEx.TimeIntervalField.superclass.setOptions.call(this,options);
        
        var units = inputEx.TimeIntervalField.units;
        var unitsStr = inputEx.messages.timeUnits;
        
        this.options.unit = options.unit || units.SECOND;
        
        
        var n=[]; for(var i=1;i<=60;i++){ n.push({ value : i }); }
        
        this.options.fields = options.fields || [
           {type: 'select', choices: n },
           {
              type: 'select',
              choices: [
                 { value: units.SECOND, label: unitsStr.SECOND },
                 { value: units.MINUTE, label: unitsStr.MINUTE },
                 { value: units.HOUR, label: unitsStr.HOUR },
                 { value: units.DAY, label: unitsStr.DAY },
                 { value: units.MONTH, label: unitsStr.MONTH },
                 { value: units.YEAR, label: unitsStr.YEAR }
              ]
           }
        ];
        
        this.options.separators = options.separators || [false, "&nbsp;&nbsp;", false];
     }
docs: Additional options