Class pvr.controller.converters.DateConverter
Extends
pvr.controller.converters._Converter.
Extends the pvr.controller.converters._Converter class to convert values and obtain the default value for
values of type "date".
Values of type "date" are represented by pvr.controller.value.types.DateOnly objects.
Defined in: <pvr\controller\converters\DateConverter.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
The default pvr.controller.converters.DateConverter instance.
|
|
<constant> |
Indicates the type of values that are supported by this converter.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
Overloaded to include the controller's "formatLength" and "dateFormat" attribute values in the settings that are
passed to the pvr.controller.value.Value#to method.
|
|
Overloaded to include the controller's "formatLength" and "dateFormat" attribute values in the settings that are
passed to the pvr.controller.value.Value#to method.
|
- Methods borrowed from class pvr.controller.converters._Converter:
- format, getDefaultValue, parse
- Methods borrowed from class pvr.logging._LoggerMixin:
- logDebug, logEntry, logError, logExit, logInfo, logWarning
Field Detail
Default
The default pvr.controller.converters.DateConverter instance.
<constant> type
Indicates the type of values that are supported by this converter.
Method Detail
computeFormatSettings()
Overloaded to include the controller's "formatLength" and "dateFormat" attribute values in the settings that are
passed to the pvr.controller.value.Value#to method.
- Returns:
- An object containing the controller settings.
computeParseSettings()
Overloaded to include the controller's "formatLength" and "dateFormat" attribute values in the settings that are
passed to the pvr.controller.value.Value#to method.
- Returns:
- An object containing the controller settings.