Blog entry by 101213021 王筱淳

Picture of 101213021 王筱淳
by 101213021 王筱淳 - Wednesday, 10 April 2013, 6:23 PM
Anyone in the world

public static boolean isDateVaild(int year,int month,int day){
    if(year<0)
        return false;
    return true;
}

or

public static int isDateVaild(int year,int month,int day){
    if(year<0)
        return 1;
    return 2;
}

 

  
RSS