docs: def yearInfo2yearDay(yearInfo):
      '''calculate the days in a lunar year from the lunar year's info
  
      >>> yearInfo2yearDay(0) # no leap month, and every month has 29 days.
      348
      >>> yearInfo2yearDay(1) # 1 leap month, and every month has 29 days.
      377
      >>> yearInfo2yearDay((2**12-1)*16) # no leap month, and every month has 30 days.
      360
      >>> yearInfo2yearDay((2**13-1)*16+1) # 1 leap month, and every month has 30 days.
      390
      >>> # 1 leap month, and every normal month has 30 days, and leap month has 29 days.
      >>> yearInfo2yearDay((2**12-1)*16+1)
      389
      '''
      yearInfo = int(yearInfo)
  
      res = 29 * 12
  
      leap = False
      if yearInfo % 16 != 0:
          leap = True
          res += 29
  
      yearInfo //= 16
  
      for i in range(12 + leap):
          if yearInfo % 2 == 1:
              res += 1
          yearInfo //= 2
      return res