Android Day Get getTimeNextDay(long lTimeMillis)

Here you can find the source of getTimeNextDay(long lTimeMillis)

Description

get Time Next Day

Declaration

public static long getTimeNextDay(long lTimeMillis) 

Method Source Code

//package com.java2s;
import java.util.Calendar;
import java.util.Date;

public class Main {
    public static long getTimeNextDay(long lTimeMillis) {
        Date date = new Date(lTimeMillis);
        Calendar cal = Calendar.getInstance();
        cal.setTime(date);//from w w w .ja v a 2s  .  c  om
        cal.add(Calendar.DAY_OF_YEAR, 1);
        Date dateNext = cal.getTime();
        return dateNext.getTime();
    }
}

Related

  1. getIntervalDays(String sd, String ed)
  2. isBirthday(Calendar cal)
  3. getBeforeDate(Date date, int days)
  4. getAfterDate(Date date, int days)
  5. fromJulianDay(double julianDay)
  6. getDaysTo(Date date)
  7. intDayToString(int day)
  8. leapDays(int y)
  9. getDay()