List of usage examples for java.util GregorianCalendar getGregorianChange
public final Date getGregorianChange()
From source file:Main.java
public static void main(String[] args) { GregorianCalendar cal = (GregorianCalendar) GregorianCalendar.getInstance(); // get Gregorian change and print it System.out.println("Date change:" + cal.getGregorianChange()); }
From source file:Main.java
public static void main(String[] args) { GregorianCalendar cal = (GregorianCalendar) GregorianCalendar.getInstance(); // set gregorian change at another date cal.setGregorianChange(new Date()); System.out.println("Gregorian Change Date" + cal.getGregorianChange()); }