}
log.debug(":::: addMeetingMember ..... "+point.getRemind().getTypId());
Users us = Usermanagement.getInstance().getUserById(userid);
OmTimeZone omTimeZone = null;
String jNameTimeZone = null;
if (us != null && us.getOmTimeZone() != null) {
System.out.println("Internal User ");
//Internal User
jNameTimeZone = us.getOmTimeZone().getJname();
omTimeZone = OmTimeZoneDaoImpl.getInstance().getOmTimeZone(jNameTimeZone);
} else {
System.out.println("External User ");
//External User
jNameTimeZone = jNameMemberTimeZone;
omTimeZone = OmTimeZoneDaoImpl.getInstance().getOmTimeZone(jNameTimeZone);
}
//If everything fails
if (omTimeZone == null) {
Configuration conf = Configurationmanagement.getInstance().getConfKey(3L, "default.timezone");
if (conf != null) {
jNameTimeZone = conf.getConf_value();
}
omTimeZone = OmTimeZoneDaoImpl.getInstance().getOmTimeZone(jNameTimeZone);
}
String timeZoneName = omTimeZone.getIcal();
Calendar cal = Calendar.getInstance();
cal.setTimeZone(TimeZone.getTimeZone(omTimeZone.getIcal()));
int offset = cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET);
// System.out.println("1"+point.getAppointmentStarttime().getTime());
// System.out.println("2"+point.getAppointmentEndtime().getTime());