Examples of WSDate


Examples of org.openhab.binding.ihc.ws.datatypes.WSDate

    value = parseValue(data,
        "/SOAP-ENV:Envelope/SOAP-ENV:Body/ns1:getProjectInfo1/ns1:projectMinorRevision");
    setProjectMinorRevision(Integer.parseInt(value));

    WSDate lastmodified = new WSDate();

    value = parseValue(data,
        "/SOAP-ENV:Envelope/SOAP-ENV:Body/ns1:getProjectInfo1/ns1:lastmodified/ns1:day");
    lastmodified.setDay(Integer.parseInt(value));

    value = parseValue(
        data,
        "/SOAP-ENV:Envelope/SOAP-ENV:Body/ns1:getProjectInfo1/ns1:lastmodified/ns1:monthWithJanuaryAsOne");
    lastmodified.setMonthWithJanuaryAsOne(Integer.parseInt(value));

    value = parseValue(
        data,
        "/SOAP-ENV:Envelope/SOAP-ENV:Body/ns1:getProjectInfo1/ns1:lastmodified/ns1:hours");
    lastmodified.setHours(Integer.parseInt(value));

    value = parseValue(
        data,
        "/SOAP-ENV:Envelope/SOAP-ENV:Body/ns1:getProjectInfo1/ns1:lastmodified/ns1:minutes");
    lastmodified.setMinutes(Integer.parseInt(value));

    value = parseValue(
        data,
        "/SOAP-ENV:Envelope/SOAP-ENV:Body/ns1:getProjectInfo1/ns1:lastmodified/ns1:seconds");
    lastmodified.setSeconds(Integer.parseInt(value));

    value = parseValue(
        data,
        "/SOAP-ENV:Envelope/SOAP-ENV:Body/ns1:getProjectInfo1/ns1:lastmodified/ns1:year");
    lastmodified.setYear(Integer.parseInt(value));

    setLastmodified(lastmodified);

    value = parseValue(data,
        "/SOAP-ENV:Envelope/SOAP-ENV:Body/ns1:getProjectInfo1/ns1:projectNumber");
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.