<%@ page import="org.amchamkorea.util.*, org.amchamkorea.newsevent.*, java.util.*, java.text.*" %> AMCHAM Korea
   
   
     
  <% Event[] eventList = EventDAO.listUpcomingEvents(); int lastYear = -1; DateFormat df = DateFormat.getDateInstance(DateFormat.FULL, Locale.ENGLISH); if (eventList.length != 0) { // if there's a upcoming events for (int i=0; i <% } // if not same year as the one before //StringBuffer dateFormatted = df.format(eventList[i].getEventDate(), new StringBuffer(), ); String dateFormatted = df.format(eventList[i].getEventDate()); //SimpleDateFormat formatter = new SimpleDateFormat("yyyyy.MMMMM.dd GGG hh:mm aaa"); //String eventDate = formatter.format(eventList[i].getEventDate()); %> <% } } else { %> <% } %>
 
<%= thisYear %>
<%= dateFormatted %>
Topic : <%= eventList[i].getTitle() %>
There are no upcoming events at this time.
Please click here to view a list of recent events.
 
     
 
   
  We can now accept membership applications on-line. Invoices are sent out after your membership...