Java Calendar Year isToThisDayOrLater(int year, int month, int day, java.util.Calendar start, java.util.Calendar end)

Here you can find the source of isToThisDayOrLater(int year, int month, int day, java.util.Calendar start, java.util.Calendar end)

Description

is To This Day Or Later

License

Open Source License

Declaration

public static boolean isToThisDayOrLater(int year, int month, int day, java.util.Calendar start,
            java.util.Calendar end) 

Method Source Code

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

public class Main {
    public static boolean isToThisDayOrLater(int year, int month, int day, java.util.Calendar start,
            java.util.Calendar end) {
        return (((start.get(java.util.Calendar.YEAR) < year) && (end.get(java.util.Calendar.YEAR) == year))
                && (end.get(java.util.Calendar.MONTH) >= month)
                && (end.get(java.util.Calendar.DAY_OF_MONTH) >= day));
    }/* w  w  w. j  av a  2  s.  c o  m*/
}

Related

  1. getYearList(Calendar currDate)
  2. isBeforeDay(Calendar date1, Calendar date2, boolean ignoreYear)
  3. isSameDay(Calendar date1, Calendar date2, boolean ignoreYear)
  4. isSameDayOfYear(Calendar calendar1, Calendar calendar2)
  5. isSameWeekOfYear(Calendar calendar1, Calendar calendar2)
  6. isWithinYears(int year, java.util.Calendar start, java.util.Calendar end)
  7. parseCalendar(int year, int month, double day, TimeZone zone)
  8. sameYear(Calendar one, Calendar two)
  9. setCalendarFields(Calendar cal, int year, int month, int day, int hour, int minute, int second, int millis)