|
Hegel 0.18.3
Property-based testing for C++
|
A yearly rule the engine infers from the transitions of last_year and the year before it. More...
#include <zone_source.h>
Public Member Functions | |
| InferRule (int32_t year) | |
Public Attributes | |
| int32_t | last_year |
| The last year the transitions cover, in [MIN_YEAR, MAX_YEAR]. | |
A yearly rule the engine infers from the transitions of last_year and the year before it.
Neither year changing anything gives a fixed offset; each changing twice, between the same two types, on dates one rule names in both years gives that rule; anything else holds the last type.
|
inlineexplicit |
| year | The last year the transitions cover. |