calendar_filter, propertyId, flag,
CalendarItem::DateToPlatform(dateTofilter, false));
if ((status = ErrorChecker(error_code)).IsError()) return status;
+ } else if (name == "isAllDay" || name == "isDetached") {
+ calendar_match_int_flag_e flag = CALENDAR_MATCH_EQUAL;
+
+ if (match_value.is<bool>()) {
+ if(match_value.get<bool>()) {
+ value = 1;
+ } else {
+ value = 0;
+ }
+ } else {
+ value = 0;
+ }
+
+ error_code =
+ calendar_filter_add_int(calendar_filter, propertyId, flag, value);
+ if ((status = ErrorChecker(error_code)).IsError()) return status;
} else {
std::string value = JsonCast<std::string>(match_value);
calendar_match_str_flag_e flag = CALENDAR_MATCH_EXISTS;