Class pvr.controller.converters.DatetimeConverter
Extends
pvr.controller.converters._Converter.
Extends the pvr.controller.converters._Converter class to convert values and obtain the default value for
values of type "datetime".
Values of type "datetime" are represented by JavaScript Date objects.
Defined in: <pvr\controller\converters\DatetimeConverter.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
The default pvr.controller.converters.DatetimeConverter 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", "dateFormat," and "timeFormat" attribute values in the
settings that are passed to the pvr.controller.value.Value#to method.
|
|
Overloaded to include the controller's "formatLength", "dateFormat," and "timeFormat" 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.DatetimeConverter instance.
<constant> type
Indicates the type of values that are supported by this converter.
Method Detail
computeFormatSettings()
Overloaded to include the controller's "formatLength", "dateFormat," and "timeFormat" 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", "dateFormat," and "timeFormat" attribute values in the
settings that are passed to the pvr.controller.value.Value#to method.
- Returns:
- An object containing the controller settings.