Package oracle.sql

Examples of oracle.sql.DATE.timestampValue()


    }

    @Test
    public void shouldReturnContentsOfDateIfAllOkay() throws SQLException {
        DATE dt = mock(DATE.class);
        when(dt.timestampValue()).thenReturn(new Timestamp(0l));
        assertEquals(new Timestamp(0l), new OracleDateNormaliser().normalise(dt));
    }

}
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.