representsValidDate() 공개 메소드

public representsValidDate ( ) : bool
리턴 bool
예제 #1
0
 public void test_Validation_Date2()
 {
     Date date = new Date(2007,14,30,12,15,45,1,2,0);
       assertTrue( date != null );
       assertEquals( false, (date.representsValidDate()) );
       date = null;
 }
예제 #2
0
 public void test_Validation_Date3()
 {
     Date date = new Date("Jan 12");
       assertTrue( date != null );
       assertEquals( false, (date.representsValidDate()) );
       date = null;
 }