MCPcopy Create free account
hub / github.com/eggert/tz / rule

Class rule

zic.c:182–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180typedef intmax_t lineno;
181
182struct rule {
183 int r_filenum;
184 lineno r_linenum;
185 const char * r_name;
186
187 zic_t r_loyear; /* for example, 1986 */
188 zic_t r_hiyear; /* for example, 1986 */
189 bool r_hiwasnum;
190
191 int r_month; /* 0..11 */
192
193 int r_dycode; /* see below */
194 int r_dayofmonth;
195 int r_wday;
196
197 zic_t r_tod; /* time from midnight */
198 bool r_todisstd; /* is r_tod standard time? */
199 bool r_todisut; /* is r_tod UT? */
200 bool r_isdst; /* is this daylight saving time? */
201 zic_t r_save; /* offset from standard time */
202 const char * r_abbrvar; /* variable part of abbreviation */
203
204 bool r_todo; /* a rule to do (used in outzone) */
205 zic_t r_temp; /* used in outzone */
206};
207
208/*
209** r_dycode r_dayofmonth r_wday

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected