Here you can find the source of getNanos(Timestamp timestamp)
public static int getNanos(Timestamp timestamp)
//package com.java2s; //License from project: Open Source License import java.sql.Timestamp; public class Main { public static int getNanos(Timestamp timestamp) { return timestamp.getNanos(); }/*from ww w .j a v a2 s . c o m*/ }