code: def parse_year_days(year_info):
      
      leap_month, leap_days = _parse_leap(year_info)
      res = leap_days
      for month in range(1, 13):
          res += (year_info >> (16 - month)) % 2 + 29
      return res
docs: Parse year days from a year info.