Class sap.ca.ui.model.type.TimeModule: sap/ca/ui/model/type/Time

extends Date

This class represents time simple types.

Deprecated API:Deprecated API:Since version 1.28. This control has been made available in sap.ui.core. Please use sap.ui.model.type.Time instead! This control will not be supported anymore.

Constructor Summary
new sap.ca.ui.model.type.Time(oFormatOptions?, oConstraints?)Constructor for a Time type.
Method Summary
sap.ca.ui.model.type.Time.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ca.ui.model.type.Time with name sClassName and enriches it with the information contained in oClassInfo.
sap.ca.ui.model.type.Time.getMetadata()Returns a metadata object for class sap.ca.ui.model.type.Time.
Methods borrowed from class sap.ca.ui.model.type.Date
Methods borrowed from class sap.ui.model.Type
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ca.ui.model.type.Time(oFormatOptions?, oConstraints?)
Constructor for a Time type.
Parameters:
{object}oFormatOptions? options used to create a DateFormat for formatting / parsing to/from external values and optionally for a second DateFormat to convert between the data source format (Model) and the internally used JavaScript Date.format. For both DateFormat objects, the same options are supported as for DateFormat.getTimeInstance. You can use an extra boolean option UTC to format in UTC ({style: "short", UTC: true}). Note that this differs from the base type.
{object}oConstraints? value constraints. Supports the same kind of constraints as its base type Date, but note the different format options (Date vs. Time)
Deprecated:
Deprecated API:Since version 1.28. This control has been made available in sap.ui.core. Please use sap.ui.model.type.Time instead! This control will not be supported anymore.
Method Detail
sap.ca.ui.model.type.Time.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ca.ui.model.type.Time with name sClassName and enriches it with the information contained in oClassInfo.

For a detailed description of oClassInfo or FNMetaImpl see Object.extend.

Parameters:
{string}sClassName name of the class to be created
{object}oClassInfo? object literal with informations about the class
{function}FNMetaImpl? alternative constructor for a metadata object
Returns:
{function} the created class / constructor function
sap.ca.ui.model.type.Time.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ca.ui.model.type.Time.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class