Class sap.ca.ui.DatePickerModule: sap/ca/ui/DatePicker
Allows end users to interact with dates. Entries can directly be written in, or selected from a calendar pad.
Deprecated API:Since version 1.22. This control has been made available in sap.m. Please use the sap.m.DatePicker instead! This control will not be supported anymore.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- firstDayOffset : int (default: 0)
- dateValue : string
- Aggregations
- Associations
- Events
In addition, all settings applicable to the base type sap.m.InputBase can be used as well.
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.22. This control has been made available in sap.m. Please use the sap.m.DatePicker instead! This control will not be supported anymore.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
dateValue
. This is a date string formatted as per the format for the control. If there is no valid input for the control, this value will be null. Default value is empty/undefined
{string} | the value of property dateValue |
firstDayOffset
. This property is used to offset the first day of the week (0 = sunday). Returns int, default 0 Default value is 0
{int} | the value of property firstDayOffset |
dateValue
. Default value is empty/undefined
{string} | sDateValue | new value for property dateValue |
{sap.ca.ui.DatePicker} | this to allow method chaining |
firstDayOffset
. Default value is 0
{int} | iFirstDayOffset | new value for property firstDayOffset |
{sap.ca.ui.DatePicker} | this to allow method chaining |