public static List < Fodselsnummer > getManyDNumberFodselsnummerForDate ( Date date ) { if ( date == null ) { throw new IllegalArgumentException ( ) ; } DateFormat df = new SimpleDateFormat ( "ddMMyy" ) ; String centuryString = getCentury ( date ) ; String dateString = df . format ( date ) ; dateString = new StringBuilder ( ) . append ( Character . toChars ( dateString . charAt ( 0 ) + 4 ) [ 0 ] ) . append ( dateString . substring ( 1 ) ) . toString ( ) ; return generateFodselsnummerForDate ( dateString , centuryString ) ; }
Returns a List with with VALID DNumber Fodselsnummer instances for a given Date .