Examples of GregorianDateTimeValue


Examples of xbird.xquery.dm.value.xsi.GregorianDateTimeValue

        buf.append("--");
        if(strlen >= 5) {
            buf.append(literal.substring(4));
        }
        final String gmonth = buf.toString();
        return new GregorianDateTimeValue(gmonth, this);
    }
View Full Code Here

Examples of xbird.xquery.dm.value.xsi.GregorianDateTimeValue

    public GregorianDateTimeValue createInstance(XMLGregorianCalendar value) {
        final DatatypeFactory factory = XsDatatypeFactory.getDatatypeFactory();
        int month = value.getMonth();
        int tz = value.getTimezone();
        XMLGregorianCalendar cal = factory.newXMLGregorianCalendarDate(DatatypeConstants.FIELD_UNDEFINED, month, DatatypeConstants.FIELD_UNDEFINED, tz);
        return new GregorianDateTimeValue(cal, GMONTH);
    }
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.