Package org.apache.clerezza.rdf.core.impl.util

Examples of org.apache.clerezza.rdf.core.impl.util.W3CDateFormat


        myCal.set(2010, 9, 27, 12, 0, 0);
        myCal.set(Calendar.MILLISECOND, 0);
        myCal.setTimeZone(TimeZone.getTimeZone("UTC"));
        graph.add(new TripleImpl(annotation, new UriRef(DC+"created"), LiteralFactory.getInstance().createTypedLiteral(myCal.getTime())));
       
        this.expectedW3CFormattedDate = new W3CDateFormat().format(myCal.getTime());
       
        graph.add(new TripleImpl(annotation, new UriRef(FISE+"selected-text"), LiteralFactory.getInstance().createTypedLiteral(namedEntity)));
        graph.add(new TripleImpl(annotation, new UriRef(FISE+"selection-context"), LiteralFactory.getInstance().createTypedLiteral(context)));
        graph.add(new TripleImpl(annotation, new UriRef(DC+"type"), type));
        Integer start = context.indexOf(namedEntity);
View Full Code Here


        myCal.set(2010, 9, 27, 12, 0, 0);
        myCal.set(Calendar.MILLISECOND, 0);
        myCal.setTimeZone(TimeZone.getTimeZone("UTC"));
        graph.add(new TripleImpl(annotation, new UriRef(DC+"created"), LiteralFactory.getInstance().createTypedLiteral(myCal.getTime())));
       
        this.expectedW3CFormattedDate = new W3CDateFormat().format(myCal.getTime());
       
        graph.add(new TripleImpl(annotation, new UriRef(FISE+"selected-text"), LiteralFactory.getInstance().createTypedLiteral(namedEntity)));
        graph.add(new TripleImpl(annotation, new UriRef(FISE+"selection-context"), LiteralFactory.getInstance().createTypedLiteral(context)));
        graph.add(new TripleImpl(annotation, new UriRef(DC+"type"), type));
        Integer start = context.indexOf(namedEntity);
View Full Code Here

        myCal.set(2010, 9, 27, 12, 0, 0);
        myCal.set(Calendar.MILLISECOND, 0);
        myCal.setTimeZone(TimeZone.getTimeZone("UTC"));
        testAnnotation.setCreated(myCal.getTime());
       
        this.expectedW3CFormattedDate = new W3CDateFormat().format(myCal.getTime());
       
        testAnnotation.setSelectedText(namedEntity);
        testAnnotation.setSelectionContext(context);
        testAnnotation.getDcType().add(type);
        Integer start = content.indexOf(namedEntity);
View Full Code Here

TOP

Related Classes of org.apache.clerezza.rdf.core.impl.util.W3CDateFormat

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.