Package Framework

Examples of Framework.IntervalData


        String aDate = "01-JAN-2000 12:34:56";
        String aDate2 = "02-Feb-2001 13:45:30";
        DateTimeData aDTD = new DateTimeData(new TextData(aDate), DateTimeData.qq_Resolver.cVALUE);
        DateTimeData aDTD2 = new DateTimeData(new TextData(aDate2), DateTimeData.qq_Resolver.cVALUE);
        IntervalData aInterval = new IntervalData();
        aInterval = aInterval.subtract(aDTD2, aDTD);

        res.getMDateTimeData1().setValue(aDate);
        res.getMDateTimeData2().setValue(aDate);
        res.getMDateTimeData3().setValue(aDate);

        res.getMDateTimeNullable1().setValue(aDate);
        res.getMDateTimeNullable2().setValue(aDate);
        res.getMDateTimeNullable3().setValue(aDate);

        res.getMDecimalData1().setValue(1234.567);
        res.getMDecimalData2().setValue(1234.567);
        res.getMDecimalData3().setValue(1234.567);
        res.getMDecimalData4().setValue(1234);
        res.getMDecimalData5().setValue(1234.567);

        res.getMDecimalNullable1().setValue(1234.567);
        res.getMDecimalNullable2().setValue(1234.567);
        res.getMDecimalNullable3().setValue(1234.567);
        res.getMDecimalNullable4().setValue(1234);
        res.getMDecimalNullable5().setValue(1234.567);

        res.setMDouble1(1234.567);
        res.setMDouble2(1234.567);
        res.setMDouble3(1234.567);
        res.setMDouble4(1234);
        res.setMDouble5(1234.567);

        res.getMDoubleData1().setValue(1234.567);
        res.getMDoubleData2().setValue(1234.567);
        res.getMDoubleData3().setValue(1234.567);
        res.getMDoubleData4().setValue(1234);
        res.getMDoubleData5().setValue(1234.567);

        res.getMDoubleNullable1().setValue(1234.567);
        res.getMDoubleNullable2().setValue(1234.567);
        res.getMDoubleNullable3().setValue(1234.567);
        res.getMDoubleNullable4().setValue(1234);
        res.getMDoubleNullable5().setValue(1234.567);

        res.setMFloat1(1234.567f);
        res.setMFloat2(1234.567f);
        res.setMFloat3(1234.567f);
        res.setMFloat4(1234f);
        res.setMFloat5(1234.567f);

        res.setMInteger1(123456789);
        res.setMInteger2(123456789);
        res.setMInteger3(123456789);
        res.setMInteger4(123456789);
        res.setMInteger5(123456789);

        res.getMIntegerData1().setValue(123456789);
        res.getMIntegerData2().setValue(123456789);
        res.getMIntegerData3().setValue(123456789);
        res.getMIntegerData4().setValue(123456789);
        res.getMIntegerData5().setValue(123456789);

        res.getMIntegerNullable1().setValue(123456789);
        res.getMIntegerNullable2().setValue(123456789);
        res.getMIntegerNullable3().setValue(123456789);
        res.getMIntegerNullable4().setValue(123456789);
        res.getMIntegerNullable5().setValue(123456789);

        res.getMIntervalData1().setValue(aInterval.getValue());
        res.getMIntervalData2().setValue(aInterval.getValue());
        res.getMIntervalData3().setValue(aInterval.getValue());
        res.getMIntervalData4().setValue(aInterval.getValue());
        res.getMIntervalData5().setValue(aInterval.getValue());

        res.getMIntervalNullable1().setValue(aInterval.getValue());
        res.getMIntervalNullable2().setValue(aInterval.getValue());
        res.getMIntervalNullable3().setValue(aInterval.getValue());
        res.getMIntervalNullable4().setValue(aInterval.getValue());
        res.getMIntervalNullable5().setValue(aInterval.getValue());

        res.setMLong1(123456789);
        res.setMLong2(123456789);
        res.setMLong3(123456789);
        res.setMLong4(123456789);
View Full Code Here


            this.qq_baseSession.setAttribute(descrName, dataObj);
        }
    }

    public void duplicateIntoTarget(HTTPSession pTarget, boolean pDeep) {
        pTarget.SessionTimeOut = new IntervalData(this.SessionTimeOut);
    }
View Full Code Here

            this.qq_baseSession.setAttribute(descrName, dataObj);
        }
    }

    public void duplicateIntoTarget(HTTPSession pTarget, boolean pDeep) {
        pTarget.SessionTimeOut = new IntervalData(this.SessionTimeOut);
    }
View Full Code Here

                DateField = pDateField;
            boolean CancelEntry = false;
            this.setLocation(UIutils.pixelsToMils(DateField.getX())+DateField.getWidth(), ((int)this.getLocation().getY()));
            this.setLocation(((int)this.getLocation().getX()), UIutils.pixelsToMils(DateField.getY())+DateField.getHeight());

            IntervalData OneMonth = new IntervalData();
            OneMonth.addUnit(0, 1, 0, 0, 0, 0, 0);
            IntervalData OneYear = new IntervalData();
            OneYear.addUnit(1, 0, 0, 0, 0, 0, 0);

            UserWindow.open(this);
            this.highlightDay();

            // ----------
View Full Code Here

            if (Month.toString().equals("4") || Month.toString().equals("6") || Month.toString().equals("9") || Month.toString().equals("11")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
                DateEnd = DateStart+29;
            }
            else if (Month.toString().equals("2")) { //$NON-NLS-1$
                IntervalData Days28 = new IntervalData();
                Days28.addUnit(0, 0, 28, 0, 0, 0, 0);
                FirstOfMonth.add(Days28);
                Fmt.setTemplate(new TextData("m"));
                TextData FebOrMarch = Fmt.formatDate(FirstOfMonth);

                if (FebOrMarch.toString().equals("2")) { //$NON-NLS-1$
View Full Code Here

        this.setMIntegerNullable1(new IntegerNullable());
        this.setMIntegerNullable2(new IntegerNullable());
        this.setMIntegerNullable3(new IntegerNullable());
        this.setMIntegerNullable4(new IntegerNullable());
        this.setMIntegerNullable5(new IntegerNullable());
        this.setMIntervalData1(new IntervalData());
        this.setMIntervalData2(new IntervalData());
        this.setMIntervalData3(new IntervalData());
        this.setMIntervalData4(new IntervalData());
        this.setMIntervalData5(new IntervalData());
        this.setMIntervalNullable1(new IntervalNullable());
        this.setMIntervalNullable2(new IntervalNullable());
        this.setMIntervalNullable3(new IntervalNullable());
        this.setMIntervalNullable4(new IntervalNullable());
        this.setMIntervalNullable5(new IntervalNullable());
View Full Code Here

    public IntegerNullable getMIntegerNullable5() {
        return this.mIntegerNullable5;
    }

    public void setMIntervalData1(IntervalData mIntervalData1) {
        IntervalData oldValue = this.mIntervalData1;
        this.mIntervalData1 = mIntervalData1;
        this.qq_Listeners.firePropertyChange("MIntervalData1", oldValue, this.mIntervalData1);
    }
View Full Code Here

    public IntervalData getMIntervalData1() {
        return this.mIntervalData1;
    }

    public void setMIntervalData2(IntervalData mIntervalData2) {
        IntervalData oldValue = this.mIntervalData2;
        this.mIntervalData2 = mIntervalData2;
        this.qq_Listeners.firePropertyChange("MIntervalData2", oldValue, this.mIntervalData2);
    }
View Full Code Here

    public IntervalData getMIntervalData2() {
        return this.mIntervalData2;
    }

    public void setMIntervalData3(IntervalData mIntervalData3) {
        IntervalData oldValue = this.mIntervalData3;
        this.mIntervalData3 = mIntervalData3;
        this.qq_Listeners.firePropertyChange("MIntervalData3", oldValue, this.mIntervalData3);
    }
View Full Code Here

    public IntervalData getMIntervalData3() {
        return this.mIntervalData3;
    }

    public void setMIntervalData4(IntervalData mIntervalData4) {
        IntervalData oldValue = this.mIntervalData4;
        this.mIntervalData4 = mIntervalData4;
        this.qq_Listeners.firePropertyChange("MIntervalData4", oldValue, this.mIntervalData4);
    }
View Full Code Here

TOP

Related Classes of Framework.IntervalData

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.