fd::interval_spec — Specification of an interval.
// In header: <fd/interval_types.h> struct interval_spec { // public data members interval_granularity granularity; int factor; // Determines interval length (span). };
interval_spec
int factor;
Negative values denote special factor functions and get mapped to special_interval_factor. E.g. granularity=year_interval, factor=4 => every four years E.g. granularity=year_interval, factor=leapyear_interval_factor[-1] => every leap year