def days_in_lunar_date(y)
      sum = 348  
      i = 0x8000  
      while i > 0x8  
        if ((@@lunar_info[y - 1900] & i) != 0)   
          sum += 1  
        end   
        i >>= 1  
      end
    
      sum + leap_days(y)
    end
def days_in_lunar_date(y)
      sum = 348  
      i = 0x8000  
      while i > 0x8  
        if ((@@lunar_info[y - 1900] & i) != 0)   
          sum += 1  
        end   
        i >>= 1  
      end
    
      sum + leap_days(y)
    end
Return the days in lunar of y year.