Here you can find the source of addDate(Calendar baseDate, int diffDate, TimeZone timezone)
public static void addDate(Calendar baseDate, int diffDate, TimeZone timezone)
//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*/ }