for (int i = 0; i < _eventAnnouncements.size(); i++)
{
List<Object> entry = _eventAnnouncements.get(i);
DateRange validDateRange = (DateRange)entry.get(0);
String[] msg = (String[])entry.get(1);
Date currentDate = new Date();
if (!validDateRange.isValid() || validDateRange.isWithinRange(currentDate))
{
SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
for (int j=0; j<msg.length; j++)
{
sm.addString(msg[j]);