Dates Before 1970 Using Gregorian Calendar - Online Code


It shows the dates before 1970

Source Code

import java.util.* ;

public class DatePrint1 {
  public static void main(String[] argv) {
    Calendar c = new GregorianCalendar(1955, 11, 30);
    System.out.println(c.get(Calendar.DAY_OF_MONTH) + " " +
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


No comment yet. Be the first to post a comment.