text: import DataType from "./DataType.js";
  
  /**
   * Different calendar types.
   */
  const CalendarTypes = {
  	Gregorian: "Gregorian",
  	Islamic: "Islamic",
  	Japanese: "Japanese",
  	Buddhist: "Buddhist",
  	Persian: "Persian",
  };
  
  class CalendarType extends DataType {
  	static isValid(value) {
  		return !!CalendarTypes[value];
  	}
  }
  
  CalendarType.generateTypeAccessors(CalendarTypes);
  
  export default CalendarType;
  