Java Calendar Add addDate(Calendar baseDate, int diffDate, TimeZone timezone)

Here you can find the source of addDate(Calendar baseDate, int diffDate, TimeZone timezone)

Description

add Date

License

Apache License

Declaration

public static void addDate(Calendar baseDate, int diffDate, TimeZone timezone) 

Method Source Code

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

import java.util.Calendar;

import java.util.TimeZone;

public class Main {
    public static void addDate(Calendar baseDate, int diffDate, TimeZone timezone) {
        baseDate.add(Calendar.DATE, diffDate);
    }/*from  w  w w  .  j  av a 2 s  .c  o  m*/
}

Related

  1. add2Calendar(Calendar cal, int years, int months, int days, int hours, int minutes, int seconds, int millis)
  2. addCalendarDate(Calendar cal, int date)
  3. addCalendarMonthsToUnixtime(long time, int interval)
  4. addCalendarQuarterOfYear(Calendar cal, int quartersOfYear)
  5. addDate(Calendar baseDate, int addDate)
  6. addDate(Date date, int calendarField, int amount)
  7. addDate(Date date, int calendarField, int numberToAdd)
  8. addDayOffset(final Calendar date, long offset)
  9. addDays(Calendar aTarget, int aAddDays)