Java Timestamp getTimeNextDay(Timestamp date)

Here you can find the source of getTimeNextDay(Timestamp date)

Description

get Time Next Day

License

Apache License

Declaration

public static Timestamp getTimeNextDay(Timestamp date) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.sql.Timestamp;

public class Main {

    public static Timestamp getTimeNextDay(Timestamp date) {
        long time = date.getTime();
        time = time + 24 * 60 * 60 * 1000;
        return new Timestamp(time);
    }// ww  w .  j a v a2  s  .c o m
}

Related

  1. getCurTimestamp()
  2. getCurTimestamp()
  3. getTimeDifference(Timestamp startTime, Timestamp endTime)
  4. getTimeFromTimestamp( java.sql.Timestamp tsZeitpunkt)
  5. getTimeNanoSec(Timestamp t)
  6. getTimeNextMonthFirstSec(Timestamp sysDate)
  7. getTimePassedSince(Timestamp timestamp)
  8. getTimeStr(Timestamp tsp)
  9. getTimeString(java.sql.Timestamp ts)