Lines 1079-1085
icalarray *icalrecurrencetype_rscale_supported_calendars(void)
Link Here
|
1079 |
|
1079 |
|
1080 |
calendars = icalarray_new(sizeof(const char **), 20); |
1080 |
calendars = icalarray_new(sizeof(const char **), 20); |
1081 |
|
1081 |
|
1082 |
en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status); |
1082 |
en = ucal_getKeywordValuesForLocale("calendar", NULL, false, &status); |
1083 |
while ((cal = uenum_next(en, NULL, &status))) { |
1083 |
while ((cal = uenum_next(en, NULL, &status))) { |
1084 |
cal = icalmemory_tmp_copy(cal); |
1084 |
cal = icalmemory_tmp_copy(cal); |
1085 |
icalarray_append(calendars, &cal); |
1085 |
icalarray_append(calendars, &cal); |
Lines 1472-1478
static int initialize_rscale(icalrecur_iterator *impl)
Link Here
|
1472 |
} |
1472 |
} |
1473 |
|
1473 |
|
1474 |
/* Check if specified calendar is supported */ |
1474 |
/* Check if specified calendar is supported */ |
1475 |
en = ucal_getKeywordValuesForLocale("calendar", NULL, FALSE, &status); |
1475 |
en = ucal_getKeywordValuesForLocale("calendar", NULL, false, &status); |
1476 |
while ((cal = uenum_next(en, NULL, &status))) { |
1476 |
while ((cal = uenum_next(en, NULL, &status))) { |
1477 |
if (!strcmp(cal, rule.rscale)) { |
1477 |
if (!strcmp(cal, rule.rscale)) { |
1478 |
is_hebrew = !strcmp(rule.rscale, "hebrew"); |
1478 |
is_hebrew = !strcmp(rule.rscale, "hebrew"); |
1479 |
- |
|
|