Adaptive Framework
0.9.0
|
Adaptive Function union<dateTime>
More...
Functions | |
const afw_value_t * | afw_function_execute_add_yearMonthDuration_date (afw_function_execute_t *x) |
Adaptive Function add_yearMonthDuration<date> More... | |
const afw_value_t * | afw_function_execute_subtract_yearMonthDuration_date (afw_function_execute_t *x) |
Adaptive Function subtract_yearMonthDuration<date> More... | |
Adaptive Function union<dateTime>
x | function execute parameter. |
Returns a list of dateTime contains all of the unique values in two or more list of dateTime values.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
lists - (2 or more list dateTime) Two or more lists.
Returns:
(list dateTime)
Implemented by afw_function_execute_union()
date adaptive functions.
const afw_value_t* afw_function_execute_add_yearMonthDuration_date | ( | afw_function_execute_t * | x | ) |
Adaptive Function add_yearMonthDuration<date>
x | function execute parameter. |
Add date arg1 to yearMonthDuration arg2 and return the date result.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (yearMonthDuration)
Returns:
(date)
Definition at line 50 of file afw_function_date.c.
const afw_value_t* afw_function_execute_subtract_yearMonthDuration_date | ( | afw_function_execute_t * | x | ) |
Adaptive Function subtract_yearMonthDuration<date>
x | function execute parameter. |
Subtract yearMonthDuration arg2 from date arg1 and return the date result.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (yearMonthDuration)
Returns:
(date)
Definition at line 103 of file afw_function_date.c.
afw_function_definition_bag_date |
Adaptive Function at_least_one_member_of<date>
x | function execute parameter. |
Returns boolean true if at least one value in date list1 is in date list2.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
list1 - (list date) The first list.
list2 - (list date) The second list.
Returns:
(boolean)
Implemented by afw_function_execute_at_least_one_member_of()
Function definition bag<date>
Definition at line 6883 of file afw_function_bindings.h.
afw_function_definition_bag_size_date |
Adaptive Function bag<date>
x | function execute parameter. |
Takes any number of date values and returns a list of list.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
values - (0 or more list date)
Returns:
(list date)
Implemented by afw_function_execute_bag()
Function definition bag_size<date>
Definition at line 6917 of file afw_function_bindings.h.
afw_function_definition_date |
Adaptive Function bag_size<date>
x | function execute parameter. |
This returns the integer number of values in list.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (list date)
Returns:
(integer)
Implemented by afw_function_execute_bag_size()
Function definition date
Definition at line 6951 of file afw_function_bindings.h.
afw_function_definition_eq_date |
Adaptive Function date
x | function execute parameter. |
Converts value to data type date returning date result.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (any dataType) Value to convert.
Returns:
(date) Converted value.
Errors thrown:
cast_error - value could not be converted
Implemented by afw_function_execute_convert()
Function definition eq<date>
Definition at line 6989 of file afw_function_bindings.h.
afw_function_definition_eqx_date |
Adaptive Function eq<date>
x | function execute parameter. |
Determine if date arg1 is equal to the value of arg2 converted to the data type of arg1 then return the boolean result. Use "eqx" ("===") instead if you want false to be returned if arg1 and arg2's data type don't match.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (any dataType)
Returns:
(boolean)
Errors thrown:
conversion - arg2 cannot be converted to the data type of arg1.
Implemented by afw_function_execute_eq()
Function definition eqx<date>
Definition at line 7032 of file afw_function_bindings.h.
afw_function_definition_ge_date |
Adaptive Function eqx<date>
x | function execute parameter. |
Determine if for date arg1 is equal to the value and data type of arg2 then return the boolean result. Use "eq" ("==") instead if you want arg2 to be converted to the data type of arg1 before comparison.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (any dataType)
Returns:
(boolean)
Implemented by afw_function_execute_eqx()
Function definition ge<date>
Definition at line 7071 of file afw_function_bindings.h.
afw_function_definition_gt_date |
Adaptive Function ge<date>
x | function execute parameter. |
Checks for date arg1 is greater than or equal to date arg2 and return the boolean result.
If a date value does not include a time-zone value, then the local time-zone value will be assigned.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (date)
Returns:
(boolean)
Implemented by afw_function_execute_ge()
Function definition gt<date>
Definition at line 7112 of file afw_function_bindings.h.
afw_function_definition_intersection_date |
Adaptive Function gt<date>
x | function execute parameter. |
Checks for date arg1 is greater than date arg2 and return the boolean result.
If a date value does not include a time-zone value, then the local time-zone value will be assigned.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (date)
Returns:
(boolean)
Implemented by afw_function_execute_gt()
Function definition intersection<date>
Definition at line 7153 of file afw_function_bindings.h.
afw_function_definition_is_date |
Adaptive Function intersection<date>
x | function execute parameter. |
Returns a list of date with the values that are common to both list of date list1 and list2.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
list1 - (list date) The first list.
list2 - (list date) The second list.
Returns:
(list date)
Implemented by afw_function_execute_intersection()
Function definition is<date>
Definition at line 7191 of file afw_function_bindings.h.
afw_function_definition_is_in_date |
Adaptive Function is<date>
x | function execute parameter. |
Checks whether value is dataType date and return the boolean result.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (any dataType) Value to check.
Returns:
(boolean)
Implemented by afw_function_execute_is()
Function definition is_in<date>
Definition at line 7225 of file afw_function_bindings.h.
afw_function_definition_le_date |
Adaptive Function is_in<date>
x | function execute parameter. |
Checks whether date value is in list of date list and returns the boolean result.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (date)
list - (list date)
Returns:
(boolean)
Implemented by afw_function_execute_is_in()
Function definition le<date>
Definition at line 7263 of file afw_function_bindings.h.
afw_function_definition_lt_date |
Adaptive Function le<date>
x | function execute parameter. |
Checks for date arg1 is less than or equal to date arg2 and return the boolean result.
If a date value does not include a time-zone value, then the local time-zone value will be assigned.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (any dataType)
Returns:
(boolean)
Implemented by afw_function_execute_le()
Function definition lt<date>
Definition at line 7304 of file afw_function_bindings.h.
afw_function_definition_max_date |
Adaptive Function lt<date>
x | function execute parameter. |
Checks for date arg1 is less that date arg2 and return the boolean result.
If a date value does not include a time-zone value, then the local time-zone value will be assigned.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (date)
Returns:
(boolean)
Implemented by afw_function_execute_lt()
Function definition max<date>
Definition at line 7344 of file afw_function_bindings.h.
afw_function_definition_min_date |
Adaptive Function max<date>
x | function execute parameter. |
Return the date value that is greater than or equal to the others..
If a date value does not include a time-zone value, then the local time-zone value will be assigned.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
values - (1 or more date)
Returns:
(date)
Implemented by afw_function_execute_max()
Function definition min<date>
Definition at line 7382 of file afw_function_bindings.h.
afw_function_definition_ne_date |
Adaptive Function min<date>
x | function execute parameter. |
Return the date value that is less than or equal to the others..
If a date value does not include a time-zone value, then the local time-zone value will be assigned.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
values - (1 or more date)
Returns:
(date)
Implemented by afw_function_execute_min()
Function definition ne<date>
Definition at line 7420 of file afw_function_bindings.h.
afw_function_definition_nex_date |
Adaptive Function ne<date>
x | function execute parameter. |
Determine if date arg1 is not equal to the value of arg2 converted to the data type of arg1 then return the boolean result. Use "nex" ("!==") instead if you want true to be returned if arg1 and arg2's data type don't match.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (any dataType)
Returns:
(boolean)
Errors thrown:
conversion - arg2 cannot be converted to the data type of arg1.
Implemented by afw_function_execute_ne()
Function definition nex<date>
Definition at line 7463 of file afw_function_bindings.h.
afw_function_definition_one_and_only_date |
Adaptive Function nex<date>
x | function execute parameter. |
Determine if for date arg1 is not equal to the value or data type of arg2 then return the boolean result. Use "ne" ("!=") instead if you want arg2 to be converted to the data type of arg1 before comparison.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
arg1 - (date)
arg2 - (any dataType)
Returns:
(boolean)
Implemented by afw_function_execute_nex()
Function definition one_and_only<date>
Definition at line 7502 of file afw_function_bindings.h.
afw_function_definition_set_equals_date |
Adaptive Function one_and_only<date>
x | function execute parameter. |
This converts a list of date values that contains one value to a single date value.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
list - (list list)
Returns:
(date)
Errors thrown:
arg_error - list does not contain exactly one value
Implemented by afw_function_execute_one_and_only()
Function definition set_equals<date>
Definition at line 7541 of file afw_function_bindings.h.
afw_function_definition_subset_date |
Adaptive Function set_equals<date>
x | function execute parameter. |
Returns boolean true if date list1 and date list2 are subsets of each other and return the boolean result.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
list1 - (list date)
list2 - (list date)
Returns:
(boolean)
Implemented by afw_function_execute_set_equals()
Function definition subset<date>
Definition at line 7579 of file afw_function_bindings.h.
afw_function_definition_subtract_yearMonthDuration_date |
Adaptive Function subset<date>
x | function execute parameter. |
Returns boolean true if the unique values in date list1 are all in date list2.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
list1 - (list date) The first list.
list2 - (list date) The second list.
Returns:
(boolean)
Implemented by afw_function_execute_subset()
Function definition subtract_yearMonthDuration<date>
Definition at line 7617 of file afw_function_bindings.h.
afw_function_definition_union_date |
Adaptive Function to_string<date>
x | function execute parameter. |
Converts date value to string. For list values, the to_string() value for each entry is returned separated with commas.
This function is pure, so it will always return the same result given exactly the same parameters and has no side effects.
Declaration:
Parameters:
value - (date) A date value.
Returns:
(string) The string representation of the value.
Implemented by afw_function_execute_convert()
Function definition union<date>
Definition at line 7688 of file afw_function_bindings.h.