DateTimeFilterOptions Class
Date and time where clause filter class.
Item Index
Methods
Methods
_cleanEndpointUrl
(
String
private
-
url
Make sure there is a trailing /.
Parameters:
-
urlStringThe endpoint url.
Returns:
String:
The cleaned endpoint url.
_extend
(
Function
private
-
base -
child
Gives the child object a copy of the parent object's prototype.
Parameters:
-
baseFunctionThe base method whose prototype will be copied.
-
childFunctionThe child method who will get a copy of the parent's prototype.
Returns:
Function:
The augmented child method.
format
()
private
Extend the built in String class with a format function.
getWhereQuery
(
String
-
propNames -
operator -
values
Gets the where query for DateTime objects.
Parameters:
-
propNamesArray | StringThe list of property names.
-
operatorArrayThe type of comparator to perform.
-
valuesArray | StringThe value of the property.
Returns:
String:
A DateTime query string.
init
(
-
options
Where clause filter base class init method.
Parameters:
-
optionsObjectOptions to set on each where filter.
