Android Day Add addDay(long dateTimeMillis)

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

Description

add Day

Declaration

public static long addDay(long dateTimeMillis) 

Method Source Code

//package com.java2s;

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();
    }//  w  w w  .  ja va2  s .  c o 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)