This class represents the Time interval composite type.
Constructor for a Time interval type.
new sap.ui.model.type.TimeInterval(oFormatOptions?, oConstraints?)
Param | Type | Default Value | Description |
---|---|---|---|
oFormatOptions? | object | Formatting options. For a list of all available options, see DateFormat. |
|
source? | object | Additional set of options used to create a second |
|
oConstraints? | object | Value constraints |
|
minimum? | Date string | Smallest value allowed for this type. Values for constraints must use the same type as configured via |
|
maximum? | Date string | Largest value allowed for this type. Values for constraints must use the same type as configured via |
Method | Description |
---|---|
sap.ui.model.type.TimeInterval.extend |
Creates a new subclass of class sap.ui.model.type.TimeInterval with name
|
sap.ui.model.type.TimeInterval.getMetadata |
Returns a metadata object for class sap.ui.model.type.TimeInterval. |
Creates a new subclass of class sap.ui.model.type.TimeInterval 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.model.type.DateInterval.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |