isSetCreatedDate() public method

public isSetCreatedDate ( ) : bool
return bool
 public void test_ModelHistory_setCreatedDate1()
 {
     ModelHistory mh = new  ModelHistory();
       assertTrue( mh != null );
       Date date = new  Date("2005-12-30T12:15:32+02:00");
       int i = mh.setCreatedDate(date);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( mh.isSetCreatedDate() == true );
       assertTrue( date != mh.getCreatedDate() );
       string dateChar = mh.getCreatedDate().getDateAsString();
       assertTrue((  "2005-12-30T12:15:32+02:00" == dateChar ));
       i = mh.setCreatedDate(null);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( mh.isSetCreatedDate() == false );
       date = null;
       mh = null;
 }
 public void test_ModelHistory_setCreatedDate()
 {
     ModelHistory history = new  ModelHistory();
       assertTrue( history != null );
       assertTrue( history.isSetCreatedDate() == false );
       Date date = new  Date(2005,12,30,12,15,45,1,2,0);
       history.setCreatedDate(date);
       assertTrue( history.isSetCreatedDate() == true );
       date = null;
       Date newdate = history.getCreatedDate();
       assertTrue( newdate.getYear() == 2005 );
       assertTrue( newdate.getMonth() == 12 );
       assertTrue( newdate.getDay() == 30 );
       assertTrue( newdate.getHour() == 12 );
       assertTrue( newdate.getMinute() == 15 );
       assertTrue( newdate.getSecond() == 45 );
       assertTrue( newdate.getSignOffset() == 1 );
       assertTrue( newdate.getHoursOffset() == 2 );
       assertTrue( newdate.getMinutesOffset() == 0 );
       history = null;
 }
 public void test_ModelHistory_setCreatedDate2()
 {
     ModelHistory mh = new  ModelHistory();
       assertTrue( mh != null );
       Date date = new  Date("Jan 12");
       int i = mh.setCreatedDate(date);
       assertTrue( i == libsbml.LIBSBML_INVALID_OBJECT );
       assertTrue( mh.isSetCreatedDate() == false );
       date = null;
       mh = null;
 }