Here you can find the source of isToThisDayOrLater(int year, int month, int day, java.util.Calendar start, java.util.Calendar end)
public static boolean isToThisDayOrLater(int year, int month, int day, java.util.Calendar start, java.util.Calendar end)
//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*/ }