Package org.geotools.metadata.iso.extent

Examples of org.geotools.metadata.iso.extent.TemporalExtentImpl


        Extent result = temporalReferenceSystem1.getDomainOfValidity();
        ExtentImpl domainOfValidity = new ExtentImpl();
        domainOfValidity.setDescription(new SimpleInternationalString("Western Europe"));
        Calendar cal = Calendar.getInstance();
        cal.set(0, 0, 0);
        TemporalExtentImpl temporalExt = new TemporalExtentImpl(cal.getTime(), new Date());
        Collection<TemporalExtent> collection = new ArrayList<TemporalExtent>();
        collection.add(temporalExt);
        domainOfValidity.setTemporalElements(collection);
        ((DefaultTemporalReferenceSystem) temporalReferenceSystem1).setDomainOfValidity(domainOfValidity);
        assertFalse(temporalReferenceSystem1.getDomainOfValidity().equals(result));
View Full Code Here

TOP

Related Classes of org.geotools.metadata.iso.extent.TemporalExtentImpl

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.