//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import java.util.ArrayList;

/**

 Factory class for calendar types
		@author Carlos Moro <cfmoro@correo.uniovi.es>

		@short    Factory class for calendar types

*/
public class KCalendarSystemFactory implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected KCalendarSystemFactory(Class dummy){}

	public KCalendarSystemFactory() {
		newKCalendarSystemFactory();
	}
	private native void newKCalendarSystemFactory();
	/**	
		 Gets specific calendar type number of days in previous month for a
		 given date
			@param calType string identification of the specific calendar type
		 to be constructed
			@param locale Locale used for translations. Use the global locale when
		 0 is specified.
				@return a KCalendarSystem object
   
		@short    Gets specific calendar type number of days in previous month for a  given date
	*/
	public static native KCalendarSystem create(String calType, KLocale locale);
	public static native KCalendarSystem create(String calType);
	public static native KCalendarSystem create();
	/**	
		 Gets list of names of supported calendar systems
				@return An ArrayList object
   
		@short    Gets list of names of supported calendar systems
	*/
	public static native ArrayList calendarSystems();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
