Date day = null;
for (LocalMessage message : myFoundMessages) {
day = printDaySeparatorIfNeeded(message, day);
BaseLocalMessage localMessage = ((BaseLocalMessage) message);
ConsoleUtil.outputMessage(localMessage.createConsoleMessage(myUser), myProject, myConsole);
}
}