public boolean isValid() {
boolean isValid = true;
switch ( recurrenceEditor.getTemporalState() ) {
case SECONDS:
SecondlyRecurrenceEditor sEd = recurrenceEditor.getSecondlyEditor();
String seconds = sEd.getValue();
if ( !StringUtils.isPositiveInteger( seconds ) || ( Integer.parseInt( seconds ) <= 0 ) ) {
isValid = false;
}
if ( Integer.parseInt( seconds ) > TimeUtil.MAX_SECOND_BY_MILLISEC ) {
isValid = false;