Package org.opengis.temporal

Examples of org.opengis.temporal.TemporalCoordinate


     * Default of unit is millisecond.
     * @param dateTime
     * @return
     */
    public TemporalCoordinate transformDateTime(Date dateTime) {
        TemporalCoordinate response;
        final long yearMS = 31536000000L;
        final long monthMS = 2628000000L;
        final long weekMS = 604800000L;
        final long dayMS = 86400000L;
        final long hourMS = 3600000L;
View Full Code Here


    /**
     * Test of transformDateTime method, of class DefaultTemporalCoordinateSystem.
     */
    @Test
    public void testTransformDateTime() {
        TemporalCoordinate result = temporalCoordinateSystem1.transformDateTime(new Date());
        assertFalse(temporalCoordinateSystem2.transformDateTime(new Date()).equals(result));
    }
View Full Code Here

TOP

Related Classes of org.opengis.temporal.TemporalCoordinate

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.