for(int day = 2; day < lastDay; day ++)
{
long timestamp = cal.getTime().getTime();
for(int n = 0; n < categories.length; n ++)
{
LocalCheckBookEntry entry = home.create(new Integer(entryNo));
entryNo ++;
entry.setAmount(1);
entry.setTimestamp(timestamp);
entry.setLogger(categories[n]);
entries.add(entry);
timestamp += 3600 * 1000;
}
cal.set(2003, month, day);
}