Method set(int year, int month, int date, int hourOfDay, int minute, int second)
Return type: void
Member of: java.util.Calendar
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 cal.set(1970, 0, 1, 0, 0, 0);
2 myCalendar.set(1990, 0, 1, 0, 0, 0);
3 myCalendar.set(2000, 0, 1, 0, 0, 0);
4 cal.set(1970, 0, 1, 0, 0, 0);
5 cal.set(2002, 7, 12, 0, 42, 13);
6 cal.set(2000, 0, 1, 0, 0, 0);
7 cal.set(2002, 5, 3, 0, 0, 0);
8 cal.set(2002, 1, 23, 9, 11, 12);
9 cal.set(1998, Calendar.SEPTEMBER, 12, 0, 0, 0);
10 cal.set(1962, Calendar.JANUARY, 19, 8, 40, 0);
11 calendar.set(2003, Calendar.FEBRUARY, 01, 10, 20, 30);
12 calendar.set(now.get(Calendar.YEAR), now.get(Calendar.MONTH),
13 m_calendar.set(m_currentYear, m_currentMonth-1, m_currentDay, m_current24Hour, m_currentMinute, 0);
14 cal.set(year, month, day,
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.