アットウィキロゴ

結合88

package moci;
import tool.*;
import java.io.*;
 
public class pro {
  int s,datanumber;
String[] data=new String[5000];
String[] link=new String[5000];
    String date;
 
    public static void main(String[] args) {
        pro t=new pro();
    }
 
    pro(){
 
        int tr;
 date="";
 
 int y=2009;
    for(tr=1;tr<358;tr++){
 
   readfile sub=new readfile();
   sub.makedata("gdata/"+tr+".txt","UTF-8");
   data=sub.data;
   datanumber=sub.datanumber;
 
   String datex=date;
 
 
 
 if(datanumber>0)date=data[10];
 
    int h=0;
   if(datex.indexOf("12月")>-1)h=h+1;
   if(date.indexOf("1月")>-1)h=h+1;
   if(h==2)y=y+1;
 
 
 for(s=1;s<datanumber+1;s++){
       System.out.println(y+"△"+data[s]);
 }
 
 
 
}
    }
最終更新:2016年12月03日 13:54