import java.util.Calendar; import java.util.GregorianCalendar; public class CalendarTest {public static void main (String [] args) {GregorianCalendar d = new GregorianCalendar (); // d is defined as the current date int today = d.get (Calendar.day_of_month; int month = d.Get (Calendar.Mont); D.SET (Calendar.day_of_month, 1); // Set the current date D start month INT weekday = d.Get (Calendar.day_of_week; system); system .out.println ("Sun Mon Tue Wed Thu Fri Sat"); // Print Calendar FOR (INT I = Calendar.Sunday; I