import java.util.GregorianCalendar; class TestCal { public static void main(String args[]) { GregorianCalendar now, yesterday; } }