Current Date in GregorianCalendar using java
Code snippet that will give Current date in GregorianCalendar format: import java.util.GregorianCalendar;import javax.xml.datatype.DatatypeConfigurationException;import javax.xml.datatype.DatatypeFactory;import javax.xml.datatype.XMLGregorianCalendar; public class CurrentDate { public CurrentDate() { super(); } public static void main(String[] args) […]