Initialize *S to a value based on UTOFF, ISDST, and DESIGIDX. */
| 635 | |
| 636 | /* Initialize *S to a value based on UTOFF, ISDST, and DESIGIDX. */ |
| 637 | static void |
| 638 | init_ttinfo(struct ttinfo *s, int_fast32_t utoff, bool isdst, |
| 639 | desigidx_type desigidx) |
| 640 | { |
| 641 | s->tt_utoff = utoff; |
| 642 | s->tt_isdst = isdst; |
| 643 | s->tt_desigidx = desigidx; |
| 644 | s->tt_ttisstd = false; |
| 645 | s->tt_ttisut = false; |
| 646 | } |
| 647 | |
| 648 | /* Return true if SP's time type I does not specify local time. */ |
| 649 | static bool |