DateTimeFilterOptions Class
Date and time where clause filter class.
Item Index
Methods
Methods
_cleanEndpointUrl
(
String
private
-
url
Make sure there is a trailing /.
Parameters:
-
url
StringThe 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:
-
base
FunctionThe base method whose prototype will be copied.
-
child
FunctionThe 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:
-
propNames
Array | StringThe list of property names.
-
operator
ArrayThe type of comparator to perform.
-
values
Array | StringThe value of the property.
Returns:
String:
A DateTime query string.
init
(
-
options
Where clause filter base class init method.
Parameters:
-
options
ObjectOptions to set on each where filter.