Java Day End calculateMaxStartDate(Calendar calendar, int daysAhead)

Here you can find the source of calculateMaxStartDate(Calendar calendar, int daysAhead)

Description

calculate Max Start Date

License

Open Source License

Declaration

private static Date calculateMaxStartDate(Calendar calendar, int daysAhead) 

Method Source Code


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

import java.util.*;

public class Main {
    private static Date calculateMaxStartDate(Calendar calendar, int daysAhead) {
        calendar.add(Calendar.DAY_OF_YEAR, daysAhead);
        return calendar.getTime();
    }//from  w  ww  .  j a va 2s .c om
}

Related

  1. absoluteDay(Calendar cal)
  2. calcYears(Date startDate, Date endDate)
  3. calenderFromDateString(String dateAndTime)
  4. checkTimeInRangeWithSkew(Date timeToCheck, Date startDate, Date endDate, int skewInMinutes)
  5. checkTimePeriod(final Date beginHour, final Date endHour, final Date hour)