Java Calendar getAvailableCalendarTypes() MethodThe getAvailableCalendarTypes() method of java.util.Calendar class returns a Set which contains string set of all available calendar type supported by java Runtime Environment. SyntaxParameterDoesn't accept any value. ReturnsReturns all available Calendar type in form of unmodifiable Set ThrowsInterruptedException Example 1Output: All Available Calendar types: gregory buddhist Japanese Example 2Output: All Available Calendar types: gregory buddhist japanese Example 3Output: [gregory, buddhist, japanese] Next TopicJava-calendar-getavailablelocales-method |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India