@Override
	public JSONObject main(Map<String, String> params, Session session)
			throws Exception {
		JSONObject rtn = new JSONObject();
		
		long month = Long.parseLong(params.get("timestamp"));
		month = DateUtil.getStartOfMonth(month);
		
		rtn.put("rtnCode", this.getRtnCode(200));
		JSONArray apptJa = new JSONArray();
		List<Appointment> aAppt = Appointment.findByMonth(session.getActiveUserId(), month);
		
		for(Appointment iAppt:aAppt) {
			apptJa.put(iAppt.toJson(session.getActiveUserId()));
		}
		rtn.put("aAppointment", apptJa);
		
		return rtn;
	}