Examples of RangeValue


Examples of org.jboss.ejb3.timer.schedule.value.RangeValue

                SingleValue singleValue = (SingleValue) relativeValue;
                String value = singleValue.getValue();
                Integer absoluteDayOfMonth = this.getAbsoluteDayOfMonth(cal, value);
                eligibleDaysOfMonth.add(absoluteDayOfMonth);
            } else if (relativeValue instanceof RangeValue) {
                RangeValue range = (RangeValue) relativeValue;
                String start = range.getStart();
                String end = range.getEnd();

                Integer dayOfMonthStart = null;
                // either start will be relative or end will be relative or both are relative
                if (this.isRelativeValue(start)) {
                    dayOfMonthStart = this.getAbsoluteDayOfMonth(cal, start);
View Full Code Here

Examples of org.openquark.cal.foreignsupport.module.Range.RangeValue

        if (!(value instanceof RangeValue)) {
            throw new IllegalArgumentException("Error in RangeValueNode.setOutputJavaValue: output must be an instance of RangeValue, not an instance of: " + value.getClass().getName());
        }
       
        // Take info from range value and put into ours
        RangeValue rangeValue = (RangeValue)value;
        form = new Form(rangeValue.hasLeftBound(), rangeValue.hasRightBound(), rangeValue.includesLeftBound(), rangeValue.includesRightBound());
        if (form.hasLeftBound()) {
            leftNode.setOutputJavaValue(rangeValue.getLeftEndpoint());
        }
        if (form.hasRightBound()) {
            rightNode.setOutputJavaValue(rangeValue.getRightEndpoint());
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.