Android Day Add addDay(long dateTimeMillis)

Here you can find the source of addDay(long dateTimeMillis)

Description

add Day

License

Open Source License

Declaration

public static long addDay(long dateTimeMillis) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Calendar;
import java.util.GregorianCalendar;

public class Main {
    public static long addDay(long dateTimeMillis) {
        Calendar calendar = new GregorianCalendar();
        calendar.setTimeInMillis(dateTimeMillis);
        calendar.add(Calendar.DATE, 1);
        return calendar.getTimeInMillis();
    }/*www .ja v  a 2  s.  co m*/
}

Related

  1. addDayOfMonth(Date date)
  2. addDayOfMonth(Date date, int difference)
  3. addDay(long dateTimeMillis)
  4. decrementOneDay(Time t)
  5. beforeNDays(Calendar c, int n)
  6. addDays(Date date, int days)