Package com.sun.jna.platform.win32.OaIdl

Examples of com.sun.jna.platform.win32.OaIdl.DATE


            this.setValue(Variant.VT_DISPATCH, value);
        }

        public VARIANT(Date value) {
            this();
            DATE date = this.fromJavaDate(value);
            this.setValue(VT_DATE, date);
        }
View Full Code Here


        public boolean booleanValue() {
            return (Boolean) this.getValue();
        }

        public Date dateValue() {
            DATE varDate = (DATE) this.getValue();
            return this.toJavaDate(varDate);
        }
View Full Code Here

                    + COM_DAYS_ADJUSTMENT;

            float floatTime = ((float) longTime)
                    / ((float) MICRO_SECONDS_PER_DAY);
            float floatDateTime = floatTime + longDate;
            return new DATE(floatDateTime);
        }
View Full Code Here

        Kernel32.INSTANCE.GetLocalTime(lpSystemTime);

        DoubleByReference pvtime = new DoubleByReference();
        OleAuto.INSTANCE.SystemTimeToVariantTime(lpSystemTime, pvtime);

        VARIANT variantDate = new VARIANT(new DATE(pvtime.getValue()));
    }
View Full Code Here

            this.setValue(Variant.VT_DISPATCH, value);
        }

        public VARIANT(Date value) {
            this();
            DATE date = this.fromJavaDate(value);
            this.setValue(VT_DATE, date);
        }
View Full Code Here

        public boolean booleanValue() {
            return (Boolean) this.getValue();
        }

        public Date dateValue() {
            DATE varDate = (DATE) this.getValue();
            return this.toJavaDate(varDate);
        }
View Full Code Here

                    + COM_DAYS_ADJUSTMENT;

            float floatTime = ((float) longTime)
                    / ((float) MICRO_SECONDS_PER_DAY);
            float floatDateTime = floatTime + longDate;
            return new DATE(floatDateTime);
        }
View Full Code Here

        Kernel32.INSTANCE.GetLocalTime(lpSystemTime);

        DoubleByReference pvtime = new DoubleByReference();
        OleAuto.INSTANCE.SystemTimeToVariantTime(lpSystemTime, pvtime);

        VARIANT variantDate = new VARIANT(new DATE(pvtime.getValue()));
    }
View Full Code Here

        // if there is at least one param we need a comma
        if (paramCount > 0)
            methodvariables = ", ";

        for (int i = 0; i < paramCount; i++) {
            ELEMDESC elemdesc = funcDesc.lprgelemdescParam.elemDescArg[i];
            String methodName = names[i + 1].toLowerCase();
            methodparams += this.getType(elemdesc.tdesc) + " "
                    + this.replaceJavaKeyword(methodName);
            methodvariables += methodName;
View Full Code Here

        this.createJavaDocHeader(typeAttr.guid.toGuidString(), docString);

        int cFuncs = typeAttr.cFuncs.intValue();
        for (int i = 0; i < cFuncs; i++) {
            // Get the function description
            FUNCDESC funcDesc = typeInfoUtil.getFuncDesc(i);

            // Get the member ID
            MEMBERID memberID = funcDesc.memid;

            // Get the name of the method
View Full Code Here

TOP

Related Classes of com.sun.jna.platform.win32.OaIdl.DATE

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.