Online Java Compiler By
JavaTpoint.com
import java.util.Calendar; public class CalendargetavailablecalendartypeExample3 { public static void main(String[] args) throws InterruptedException { // here we are directly printing the set which is showing all available calendar type System.out.println(Calendar.getAvailableCalendarTypes()); } }
Output