text: /*!
   * OpenUI5
   * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
   * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
   */
  
  // Provides control sap.ui.unified.DateTypeRange.
  sap.ui.define(['./DateRange', './library'],
  	function(DateRange, library) {
  	"use strict";
  
  
  
  	// shortcut for sap.ui.unified.CalendarDayType
  	var CalendarDayType = library.CalendarDayType;
  
  
  
  	/**
  	 * Constructor for a new DateTypeRange.
  	 *
  	 * @param {string} [sId] id for the new control, generated automatically if no id is given
  	 * @param {object} [mSettings] initial settings for the new control
  	 *
  	 * @class
  	 * Date range with calendar day type information. Used to visualize special days in the Calendar.
  	 * @extends sap.ui.unified.DateRange
  	 * @version 1.96.0
  	 *
  	 * @constructor
  	 * @public
  	 * @since 1.24.0
  	 * @alias sap.ui.unified.DateTypeRange
  	 * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
  	 */
  	var DateTypeRange = DateRange.extend("sap.ui.unified.DateTypeRange", /** @lends sap.ui.unified.DateTypeRange.prototype */ { metadata : {
  
  		library : "sap.ui.unified",
  		properties : {
  
  			/**
  			 * Type of the date range.
  			 */
  			type : {type : "sap.ui.unified.CalendarDayType", group : "Appearance", defaultValue : CalendarDayType.Type01},
  			/**
  			 * Applies secondary <code>CalendarDayType</code> combined with the <code>CalendarDayType</code> type chosen.
  			 * Allows <code>specialDates</code> to be also a <code>NonWorkingDay</code>.
  			 * The secondary day type can only be used for <code>NonWorkingDay</code> or <code>None</code> calendar day types.
  			 * In other cases it will not be visible.
  			 * @since 1.81.0
  			 */
  			secondaryType : {type : "sap.ui.unified.CalendarDayType", group : "Appearance", defaultValue : CalendarDayType.None},
  
  			/**
  			 * Background color of the <code>Calendar</code> <code>specialDates</code> aggregation.
  			 * If set, this color will override the default background color defined in <code>Calendar</code> <code>specialDates</code> aggregation
  			 * @since 1.76.0
  			 */
  			color : {type : "sap.ui.core.CSSColor", group : "Appearance", defaultValue : null}
  		}
  	}});
  
  	return DateTypeRange;
  
  });
  