Blog entry by 101213021 王筱淳

Picture of 101213021 王筱淳
by 101213021 王筱淳 - Wednesday, April 10, 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;
}

Comments

     

      
    RSS