public static final Index createTestBankIndexApprovedOn(){
  Index lastname=new Index("approvedon");
  lastname.isUnique(false);
  ArrayList<IndexField> fields=new ArrayList<>(1);
  fields.add(new IndexField("boardapprovaldate",FieldDataType.DATE_TIME));
  lastname.setFields(fields);
  lastname.setTable(Fixtures.createTestWorldBankTable());
  return lastname;
}

public static final Index createTestBankIndexApprovedOn ( ) { Index lastname = new Index ( "approvedon" ) ; lastname . isUnique ( false ) ; ArrayList < IndexField > fields = new ArrayList < > ( 1 ) ; fields . add ( new IndexField ( "boardapprovaldate" , FieldDataType . DATE_TIME ) ) ; lastname . setFields ( fields ) ; lastname . setTable ( Fixtures . createTestWorldBankTable ( ) ) ; return lastname ; }
creates at test index for bank load approved on date . date type index .
