Here you can find the source of convertTime2TS(long time)
Parameter | Description |
---|---|
time | a parameter |
public static Timestamp convertTime2TS(long time)
//package com.java2s; /*//from w ww . j a v a2 s. c o m * @(#)ConversionUtil.java * * Copyright by ObjectFrontier, Inc., * 12225 Broadleaf Lane, Alpharetta, GA 30005, U.S.A. * All rights reserved. * * This software is the confidential and proprietary information * of ObjectFrontier, Inc. You shall not disclose such Confidential * Information and shall use it only in accordance with the terms of * the license agreement you entered into with ObjectFrontier. */ import java.sql.Timestamp; public class Main { /** * * @param time * @return */ public static Timestamp convertTime2TS(long time) { return new Timestamp(time); } }