Lines Matching defs:_tzrule
37 } _tzrule;
50 _tzrule tzrule_after;
123 parse_tz_str(PyObject *tz_str_obj, _tzrule *out);
136 find_tzrule_ttinfo(_tzrule *rule, int64_t ts, unsigned char fold, int year);
138 find_tzrule_ttinfo_fromutc(_tzrule *rule, int64_t ts, int year,
151 TransitionRuleType *end, _tzrule *out);
153 free_tzrule(_tzrule *tzrule);
1333 /* Calculate the start and end rules for a _tzrule in the given year. */
1335 tzrule_transitions(_tzrule *rule, int year, int64_t *start, int64_t *end)
1343 /* Calculate the _ttinfo that applies at a given local time from a _tzrule.
1352 find_tzrule_ttinfo(_tzrule *rule, int64_t ts, unsigned char fold, int year)
1393 /* Calculate the ttinfo and fold that applies for a _tzrule at an epoch time.
1405 find_tzrule_ttinfo_fromutc(_tzrule *rule, int64_t ts, int year,
1465 parse_tz_str(PyObject *tz_str_obj, _tzrule *out)
1906 /* Constructor for a _tzrule.
1908 * If `dst_abbr` is NULL, this will construct an "STD-only" _tzrule, in which
1917 TransitionRuleType *end, _tzrule *out)
1919 _tzrule rv = {{0}};
1947 /* Destructor for _tzrule. */
1949 free_tzrule(_tzrule *tzrule)