Package org.pentaho.mantle.client.dialogs.scheduling.RecurrenceEditor

Examples of org.pentaho.mantle.client.dialogs.scheduling.RecurrenceEditor.SecondlyRecurrenceEditor


  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;
View Full Code Here

TOP

Related Classes of org.pentaho.mantle.client.dialogs.scheduling.RecurrenceEditor.SecondlyRecurrenceEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.