Java tutorial
//package com.java2s; import java.util.Date; public class Main { public static boolean isAB(Date A, Date B) { long a = A.getTime(); long b = B.getTime(); return a >= b; } }