public static String[] gameNo = {"101","201"};
public static List<String> issueList = null;
public static void main(String[] args) {
XmlUtils utils = new XmlUtils();
CPHMTBService service = new CPHMTBService();
Calendar c = Calendar.getInstance();
//c.setTime(new SimpleDateFormat("yyyy-MM-dd").parse("2014-03-16"));
int week = c.get(Calendar.DAY_OF_WEEK);
String game = "DLT";
String gameNo = "201";
if (week == 1 || week == 3 || week == 5) {
game = "SSQ";
gameNo = "101";
}
Map<String, Object> infomMap = service.lastIssuoInfo(game);
issueList = (List<String>) infomMap.get("issueList");
help();
String onsaleIssueNo = (String) infomMap.get("onsaleIssueNo");
System.out.println(new SimpleDateFormat("yyyy-MM-dd E").format(c.getTime())
+" "+game+" onsaleIssueNo:"+onsaleIssueNo);