Package org.opengis.temporal

Examples of org.opengis.temporal.TemporalPrimitive


    protected Period toPeriod(Object object, Expression e) {
        return e.evaluate(object, Period.class);
    }
   
    protected TemporalPrimitive toTemporal(Object object, Expression e) {
        TemporalPrimitive p = toPeriod(object, e);
        if (p != null) {
            return p;
        }
       
        p = toInstant(object, e);
View Full Code Here


    /**
     * Test of relativePosition method, of class DefaultTemporalPrimitive.
     */
    @Test
    public void testRelativePosition() {
        TemporalPrimitive other;

        //relative position between Instant objects
        cal.set(2000, 0, 1);
        Position position = new DefaultPosition(cal.getTime());
        other = new DefaultInstant(position);
View Full Code Here

TOP

Related Classes of org.opengis.temporal.TemporalPrimitive

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.