Here you can find the source of getDateTime(Timestamp timestamp)
public static DateTime getDateTime(Timestamp timestamp)
//package com.java2s; //License from project: LGPL import java.sql.Timestamp; import org.joda.time.DateTime; import org.joda.time.DateTimeZone; import org.joda.time.chrono.GJChronology; public class Main { public static DateTime getDateTime(Timestamp timestamp) { return new DateTime(timestamp, GJChronology.getInstance(DateTimeZone.UTC)); }// www.j a va2s. co m }