Class sap.ui.unified.CalendarTimeIntervalModule: sap/ui/unified/CalendarTimeInterval

extends Control

Calendar with granularity of time items displayed in one line.


Since: 1.32.0.
Constructor Summary
new sap.ui.unified.CalendarTimeInterval(sId?, mSettings?)Constructor for a new CalendarTimeInterval.
Event Summary
cancel(oControlEvent)Time selection was cancelled
select(oControlEvent)Time selection changed
startDateChange(oControlEvent)startDate was changed while navigation in CalendarTimeInterval
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ui.unified.CalendarTimeInterval.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.unified.CalendarTimeInterval with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.unified.CalendarTimeInterval.getMetadata()Returns a metadata object for class sap.ui.unified.CalendarTimeInterval.
addAriaLabelledBy(vAriaLabelledBy)Adds some ariaLabelledBy into the association ariaLabelledBy.
addSelectedDate(oSelectedDate)Adds some selectedDate to the aggregation selectedDates.
addSpecialDate(oSpecialDate)Adds some specialDate to the aggregation specialDates.
attachCancel(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the cancel event of this sap.ui.unified.CalendarTimeInterval.
attachSelect(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the select event of this sap.ui.unified.CalendarTimeInterval.
attachStartDateChange(oData?, fnFunction, oListener?)Attaches event handler fnFunction to the startDateChange event of this sap.ui.unified.CalendarTimeInterval.
destroySelectedDates()Destroys all the selectedDates in the aggregation selectedDates.
destroySpecialDates()Destroys all the specialDates in the aggregation specialDates.
detachCancel(fnFunction, oListener)Detaches event handler fnFunction from the cancel event of this sap.ui.unified.CalendarTimeInterval.
detachSelect(fnFunction, oListener)Detaches event handler fnFunction from the select event of this sap.ui.unified.CalendarTimeInterval.
detachStartDateChange(fnFunction, oListener)Detaches event handler fnFunction from the startDateChange event of this sap.ui.unified.CalendarTimeInterval.
displayDate(oDate)Displays a item in the CalendarTimeInterval but doesn't set the focus.
fireCancel(mArguments?)Fires event cancel to attached listeners.
fireSelect(mArguments?)Fires event select to attached listeners.
fireStartDateChange(mArguments?)Fires event startDateChange to attached listeners.
focusDate(oDate)Sets the focused item of the CalendarTimeInterval.
getAriaLabelledBy()Returns array of IDs of the elements which are the current targets of the association ariaLabelledBy.
getIntervalMinutes()Gets current value of property intervalMinutes.
getIntervalSelection()Gets current value of property intervalSelection.
getItems()Gets current value of property items.
getLegend()ID of the element which is the current target of the association legend, or null.
getMaxDate()Gets current value of property maxDate.
getMinDate()Gets current value of property minDate.
getPickerPopup()Gets current value of property pickerPopup.
getSelectedDates()Gets content of aggregation selectedDates.
getSingleSelection()Gets current value of property singleSelection.
getSpecialDates()Gets content of aggregation specialDates.
getStartDate()Gets current value of property startDate.
getWidth()Gets current value of property width.
indexOfSelectedDate(oSelectedDate)Checks for the provided sap.ui.unified.DateRange in the aggregation selectedDates.
indexOfSpecialDate(oSpecialDate)Checks for the provided sap.ui.unified.DateTypeRange in the aggregation specialDates.
insertSelectedDate(oSelectedDate, iIndex)Inserts a selectedDate into the aggregation selectedDates.
insertSpecialDate(oSpecialDate, iIndex)Inserts a specialDate into the aggregation specialDates.
removeAllAriaLabelledBy()Removes all the controls in the association named ariaLabelledBy.
removeAllSelectedDates()Removes all the controls from the aggregation selectedDates.
removeAllSpecialDates()Removes all the controls from the aggregation specialDates.
removeAriaLabelledBy(vAriaLabelledBy)Removes an ariaLabelledBy from the association named ariaLabelledBy.
removeSelectedDate(vSelectedDate)Removes a selectedDate from the aggregation selectedDates.
removeSpecialDate(vSpecialDate)Removes a specialDate from the aggregation specialDates.
setIntervalMinutes(iIntervalMinutes)Sets a new value for property intervalMinutes.
setIntervalSelection(bIntervalSelection)Sets a new value for property intervalSelection.
setItems(iItems)Sets a new value for property items.
setLegend(oLegend)Sets the associated legend.
setMaxDate(oMaxDate)Sets a new value for property maxDate.
setMinDate(oMinDate)Sets a new value for property minDate.
setPickerPopup(bPickerPopup)Sets a new value for property pickerPopup.
setSingleSelection(bSingleSelection)Sets a new value for property singleSelection.
setStartDate(oStartDate)Sets a new value for property startDate.
setWidth(sWidth)Sets a new value for property width.
Constructor Detail
new sap.ui.unified.CalendarTimeInterval(sId?, mSettings?)
Constructor for a new CalendarTimeInterval.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

  • Properties
  • Aggregations
  • Events
    • select : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
    • cancel : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
    • startDateChange : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]

In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.

Parameters:
{string}sId? ID for the new control, generated automatically if no ID is given
{object}mSettings? Initial settings for the new control
Event Detail
cancel(oControlEvent)
Time selection was cancelled
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
select(oControlEvent)
Time selection changed
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
startDateChange(oControlEvent)
startDate was changed while navigation in CalendarTimeInterval
Parameters:
{sap.ui.base.Event}oControlEvent
{sap.ui.base.EventProvider}oControlEvent.getSource
{object}oControlEvent.getParameters
Since:
1.34.0
Method Detail
sap.ui.unified.CalendarTimeInterval.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.unified.CalendarTimeInterval with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.core.Control.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.ui.unified.CalendarTimeInterval.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.unified.CalendarTimeInterval.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
addAriaLabelledBy(vAriaLabelledBy): sap.ui.unified.CalendarTimeInterval
Adds some ariaLabelledBy into the association ariaLabelledBy.
Parameters:
{string|sap.ui.core.Control}vAriaLabelledBy the ariaLabelledBy to add; if empty, nothing is inserted
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
addSelectedDate(oSelectedDate): sap.ui.unified.CalendarTimeInterval
Adds some selectedDate to the aggregation selectedDates.
Parameters:
{sap.ui.unified.DateRange}oSelectedDate the selectedDate to add; if empty, nothing is inserted
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
addSpecialDate(oSpecialDate): sap.ui.unified.CalendarTimeInterval
Adds some specialDate to the aggregation specialDates.
Parameters:
{sap.ui.unified.DateTypeRange}oSpecialDate the specialDate to add; if empty, nothing is inserted
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
attachCancel(oData?, fnFunction, oListener?): sap.ui.unified.CalendarTimeInterval
Attaches event handler fnFunction to the cancel event of this sap.ui.unified.CalendarTimeInterval.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.unified.CalendarTimeInterval itself.

Time selection was cancelled

Parameters:
{object}oData? An application-specific payload object that will be passed to the event handler along with the event object when firing the event
{function}fnFunction The function to be called when the event occurs
{object}oListener? Context object to call the event handler with. Defaults to this sap.ui.unified.CalendarTimeInterval itself
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
attachSelect(oData?, fnFunction, oListener?): sap.ui.unified.CalendarTimeInterval
Attaches event handler fnFunction to the select event of this sap.ui.unified.CalendarTimeInterval.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.unified.CalendarTimeInterval itself.

Time selection changed

Parameters:
{object}oData? An application-specific payload object that will be passed to the event handler along with the event object when firing the event
{function}fnFunction The function to be called when the event occurs
{object}oListener? Context object to call the event handler with. Defaults to this sap.ui.unified.CalendarTimeInterval itself
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
attachStartDateChange(oData?, fnFunction, oListener?): sap.ui.unified.CalendarTimeInterval
Attaches event handler fnFunction to the startDateChange event of this sap.ui.unified.CalendarTimeInterval.

When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.ui.unified.CalendarTimeInterval itself.

startDate was changed while navigation in CalendarTimeInterval

Parameters:
{object}oData? An application-specific payload object that will be passed to the event handler along with the event object when firing the event
{function}fnFunction The function to be called when the event occurs
{object}oListener? Context object to call the event handler with. Defaults to this sap.ui.unified.CalendarTimeInterval itself
Since:
1.34.0
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
destroySelectedDates(): sap.ui.unified.CalendarTimeInterval
Destroys all the selectedDates in the aggregation selectedDates.
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
destroySpecialDates(): sap.ui.unified.CalendarTimeInterval
Destroys all the specialDates in the aggregation specialDates.
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
detachCancel(fnFunction, oListener): sap.ui.unified.CalendarTimeInterval
Detaches event handler fnFunction from the cancel event of this sap.ui.unified.CalendarTimeInterval.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to be called, when the event occurs
{object}oListener Context object on which the given function had to be called
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
detachSelect(fnFunction, oListener): sap.ui.unified.CalendarTimeInterval
Detaches event handler fnFunction from the select event of this sap.ui.unified.CalendarTimeInterval.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to be called, when the event occurs
{object}oListener Context object on which the given function had to be called
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
detachStartDateChange(fnFunction, oListener): sap.ui.unified.CalendarTimeInterval
Detaches event handler fnFunction from the startDateChange event of this sap.ui.unified.CalendarTimeInterval.

The passed function and listener object must match the ones used for event registration.

Parameters:
{function}fnFunction The function to be called, when the event occurs
{object}oListener Context object on which the given function had to be called
Since:
1.34.0
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
displayDate(oDate): sap.ui.unified.Calendar
Displays a item in the CalendarTimeInterval but doesn't set the focus.
Parameters:
{object}oDate JavaScript date object for displayed item.
Returns:
{sap.ui.unified.Calendar}this to allow method chaining
fireCancel(mArguments?): sap.ui.unified.CalendarTimeInterval
Fires event cancel to attached listeners.
Parameters:
{Map}mArguments? The arguments to pass along with the event
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
fireSelect(mArguments?): sap.ui.unified.CalendarTimeInterval
Fires event select to attached listeners.
Parameters:
{Map}mArguments? The arguments to pass along with the event
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
fireStartDateChange(mArguments?): sap.ui.unified.CalendarTimeInterval
Fires event startDateChange to attached listeners.
Parameters:
{Map}mArguments? The arguments to pass along with the event
Since:
1.34.0
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
focusDate(oDate): sap.ui.unified.Calendar
Sets the focused item of the CalendarTimeInterval.
Parameters:
{object}oDate JavaScript date object for focused item.
Returns:
{sap.ui.unified.Calendar}this to allow method chaining
getAriaLabelledBy(): sap.ui.core.Control[]
Returns array of IDs of the elements which are the current targets of the association ariaLabelledBy.
Returns:
{sap.ui.core.Control[]}
getIntervalMinutes(): int
Gets current value of property intervalMinutes.

Size of on time interval in minutes, default is 60 minutes.

Note: the start of the interval calculation is always on the corresponding date at 00:00.

A interval longer then 720 minutes is not allowed. Please use the CalendarDateInterval instead.

A day must be divisible by this interval size. One interval must not include more than one day.

Default value is 60.

Returns:
{int} Value of property intervalMinutes
getIntervalSelection(): boolean
Gets current value of property intervalSelection.

If set, interval selection is allowed

Default value is false.

Returns:
{boolean} Value of property intervalSelection
getItems(): int
Gets current value of property items.

Number of time items displayed. Default is 12.

Note: On phones, the maximum number of items displayed in the row is always 6.

Default value is 12.

Returns:
{int} Value of property items
ID of the element which is the current target of the association legend, or null.
Since:
1.38.5
Returns:
{sap.ui.unified.CalendarLegend}
getMaxDate(): object
Gets current value of property maxDate.

Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.

Note: If the maxDate is set to be before the minDate, the minDate is set to the begin of the month of the maxDate.

Since:
1.38.0
Returns:
{object} Value of property maxDate
getMinDate(): object
Gets current value of property minDate.

Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.

Note: If the minDate is set to be after the maxDate, the maxDate is set to the end of the month of the minDate.

Since:
1.38.0
Returns:
{object} Value of property minDate
getPickerPopup(): boolean
Gets current value of property pickerPopup.

If set, the day-, month- and yearPicker opens on a popup

Default value is false.

Since:
1.34.0
Returns:
{boolean} Value of property pickerPopup
getSelectedDates(): sap.ui.unified.DateRange[]
Gets content of aggregation selectedDates.

Date ranges for selected items of the CalendarTimeInterval.

If singleSelection is set, only the first entry is used.

Returns:
{sap.ui.unified.DateRange[]}
getSingleSelection(): boolean
Gets current value of property singleSelection.

If set, only a single date or interval, if intervalSelection is enabled, can be selected

Note: Selection of multiple intervals is not supported in the current version.

Default value is true.

Returns:
{boolean} Value of property singleSelection
getSpecialDates(): sap.ui.unified.DateTypeRange[]
Gets content of aggregation specialDates.

Date ranges with type to visualize special items in the CalendarTimeInterval. If one interval is assigned to more than one type, only the first one will be used.

Returns:
{sap.ui.unified.DateTypeRange[]}
getStartDate(): object
Gets current value of property startDate.

Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and items and intervalMinutes will be the first time in the displayed row.

Returns:
{object} Value of property startDate
getWidth(): sap.ui.core.CSSSize
Gets current value of property width.

Width of the CalendarTimeInterval. The width of the single months depends on this width.

Returns:
{sap.ui.core.CSSSize} Value of property width
indexOfSelectedDate(oSelectedDate): int
Checks for the provided sap.ui.unified.DateRange in the aggregation selectedDates. and returns its index if found or -1 otherwise.
Parameters:
{sap.ui.unified.DateRange}oSelectedDate The selectedDate whose index is looked for
Returns:
{int} The index of the provided control in the aggregation if found, or -1 otherwise
indexOfSpecialDate(oSpecialDate): int
Checks for the provided sap.ui.unified.DateTypeRange in the aggregation specialDates. and returns its index if found or -1 otherwise.
Parameters:
{sap.ui.unified.DateTypeRange}oSpecialDate The specialDate whose index is looked for
Returns:
{int} The index of the provided control in the aggregation if found, or -1 otherwise
insertSelectedDate(oSelectedDate, iIndex): sap.ui.unified.CalendarTimeInterval
Inserts a selectedDate into the aggregation selectedDates.
Parameters:
{sap.ui.unified.DateRange}oSelectedDate the selectedDate to insert; if empty, nothing is inserted
{int}iIndex the 0-based index the selectedDate should be inserted at; for a negative value of iIndex, the selectedDate is inserted at position 0; for a value greater than the current size of the aggregation, the selectedDate is inserted at the last position
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
insertSpecialDate(oSpecialDate, iIndex): sap.ui.unified.CalendarTimeInterval
Inserts a specialDate into the aggregation specialDates.
Parameters:
{sap.ui.unified.DateTypeRange}oSpecialDate the specialDate to insert; if empty, nothing is inserted
{int}iIndex the 0-based index the specialDate should be inserted at; for a negative value of iIndex, the specialDate is inserted at position 0; for a value greater than the current size of the aggregation, the specialDate is inserted at the last position
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
removeAllAriaLabelledBy(): sap.ui.core.Control[]
Removes all the controls in the association named ariaLabelledBy.
Returns:
{sap.ui.core.Control[]} An array of the removed elements (might be empty)
removeAllSelectedDates(): sap.ui.unified.DateRange[]
Removes all the controls from the aggregation selectedDates.

Additionally, it unregisters them from the hosting UIArea.

Returns:
{sap.ui.unified.DateRange[]} An array of the removed elements (might be empty)
removeAllSpecialDates(): sap.ui.unified.DateTypeRange[]
Removes all the controls from the aggregation specialDates.

Additionally, it unregisters them from the hosting UIArea.

Returns:
{sap.ui.unified.DateTypeRange[]} An array of the removed elements (might be empty)
removeAriaLabelledBy(vAriaLabelledBy): sap.ui.core.Control
Removes an ariaLabelledBy from the association named ariaLabelledBy.
Parameters:
{int|string|sap.ui.core.Control}vAriaLabelledBy The ariaLabelledByto be removed or its index or ID
Returns:
{sap.ui.core.Control} the removed ariaLabelledBy or null
removeSelectedDate(vSelectedDate): sap.ui.unified.DateRange
Removes a selectedDate from the aggregation selectedDates.
Parameters:
{int|string|sap.ui.unified.DateRange}vSelectedDate The selectedDateto remove or its index or id
Returns:
{sap.ui.unified.DateRange} The removed selectedDate or null
removeSpecialDate(vSpecialDate): sap.ui.unified.DateTypeRange
Removes a specialDate from the aggregation specialDates.
Parameters:
{int|string|sap.ui.unified.DateTypeRange}vSpecialDate The specialDateto remove or its index or id
Returns:
{sap.ui.unified.DateTypeRange} The removed specialDate or null
setIntervalMinutes(iIntervalMinutes): sap.ui.unified.CalendarTimeInterval
Sets a new value for property intervalMinutes.

Size of on time interval in minutes, default is 60 minutes.

Note: the start of the interval calculation is always on the corresponding date at 00:00.

A interval longer then 720 minutes is not allowed. Please use the CalendarDateInterval instead.

A day must be divisible by this interval size. One interval must not include more than one day.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is 60.

Parameters:
{int}iIntervalMinutes New value for property intervalMinutes
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
setIntervalSelection(bIntervalSelection): sap.ui.unified.CalendarTimeInterval
Sets a new value for property intervalSelection.

If set, interval selection is allowed

When called with a value of null or undefined, the default value of the property will be restored.

Default value is false.

Parameters:
{boolean}bIntervalSelection New value for property intervalSelection
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
Sets a new value for property items.

Number of time items displayed. Default is 12.

Note: On phones, the maximum number of items displayed in the row is always 6.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is 12.

Parameters:
{int}iItems New value for property items
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
Sets the associated legend.
Parameters:
{sap.ui.unified.CalendarLegend}oLegend Id of an element which becomes the new target of this legend association; alternatively, an element instance may be given
Since:
1.38.5
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
Sets a new value for property maxDate.

Maximum date that can be shown and selected in the Calendar. This must be a JavaScript date object.

Note: If the maxDate is set to be before the minDate, the minDate is set to the begin of the month of the maxDate.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{object}oMaxDate New value for property maxDate
Since:
1.38.0
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
Sets a new value for property minDate.

Minimum date that can be shown and selected in the Calendar. This must be a JavaScript date object.

Note: If the minDate is set to be after the maxDate, the maxDate is set to the end of the month of the minDate.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{object}oMinDate New value for property minDate
Since:
1.38.0
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
setPickerPopup(bPickerPopup): sap.ui.unified.CalendarTimeInterval
Sets a new value for property pickerPopup.

If set, the day-, month- and yearPicker opens on a popup

When called with a value of null or undefined, the default value of the property will be restored.

Default value is false.

Parameters:
{boolean}bPickerPopup New value for property pickerPopup
Since:
1.34.0
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
setSingleSelection(bSingleSelection): sap.ui.unified.CalendarTimeInterval
Sets a new value for property singleSelection.

If set, only a single date or interval, if intervalSelection is enabled, can be selected

Note: Selection of multiple intervals is not supported in the current version.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is true.

Parameters:
{boolean}bSingleSelection New value for property singleSelection
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
setStartDate(oStartDate): sap.ui.unified.CalendarTimeInterval
Sets a new value for property startDate.

Start date of the Interval as JavaScript Date object. The time interval corresponding to this Date and items and intervalMinutes will be the first time in the displayed row.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{object}oStartDate New value for property startDate
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining
Sets a new value for property width.

Width of the CalendarTimeInterval. The width of the single months depends on this width.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{sap.ui.core.CSSSize}sWidth New value for property width
Returns:
{sap.ui.unified.CalendarTimeInterval} Reference to this in order to allow method chaining