- 1
- 2
- 3
- 4
- 5
private Date generateDate(int dateDay, int dateMonth) throws ParseException {
DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
return df.parse(String.valueOf(generator.nextInt(dateDay) + 1) + "."
+ String.valueOf(dateMonth) + "." + DATE_YEAR);
}
пъянь 14.08.2009 02:17 # 0
UNV 15.08.2009 15:16 # +1
пъянь 16.08.2009 13:07 # 0
пъянь 16.08.2009 13:10 # 0