class pro{
String[] data=new String[1000];
int s,datanumber;
String code[]=new String[10000];
String com[]=new String[10000];
int nysenumber;
int year1,year2,month1,month2;
public static void main(String [] args) {
pro test=new pro();
}
pro(){
getcode gt=new getcode();
gt.makedata();
code=gt.code;
com=gt.com;
nysenumber=gt.nysenumber;
yahoo yh=new yahoo();
for(year1=2006;year1<2011;year1++){
for(month1=1;month1<13;month1++){
year2=year1;
month2=month1+1;
if(month2>12)year2=year2+1;
if(month2>12)month2=1;
yh.makedata(code[1],year1,month1,year2,month2);
datanumber=yh.datanumber;
data=yh.data;
for(s=1;s<datanumber+1;s++){
System.out.println(data[s]);
}
}
}
}
}
最終更新:2011年04月14日 19:10