endTime = new PureTimeMember("EndTime", (java.util.Date)hm.get("End"), 10, "URL", 'T',
false, 100, "EST");
else
endTime = new PureTimeMember("EndTime", null, 10, "URL", 'T', false, 100, "EST");
TimeSlipListElement ele = new TimeSlipListElement(timeSlipID);
ele.put("ID", intmem);
ele.put("TaskID", taskId);
ele.put("Description", description);
ele.put("Project", projectName);
ele.put("ProjectID", projectId);
ele.put("Task", taskName);
if (Duration > 1.0) {
StringMember duration = new StringMember("Duration", Float.toString(Duration) + " hours",
10, "URL", 'T', false);
ele.put("Duration", duration);
} else if (Duration == 1.0) {
StringMember duration = new StringMember("Duration", Float.toString(Duration) + " hour",
10, "URL", 'T', false);
ele.put("Duration", duration);
} else if (Duration > 0.0 && Duration < 1.0) {
StringMember duration = new StringMember("Duration", Float.toString(Duration * 60)
+ " minutes", 10, "URL", 'T', false);
ele.put("Duration", duration);
} else {
StringMember duration = new StringMember("Duration", "", 10, "URL", 'T', false);
ele.put("Duration", duration);
}
ele.put("CreatedBy", createdBy);
ele.put("Creator", creator);
ele.put("Date", date);
ele.put("StartTime", startTime);
ele.put("EndTime", endTime);
StringBuffer sb = new StringBuffer("00000000000");
sb.setLength(11);
String str = (new Integer(i)).toString();
sb.replace((sb.length() - str.length()), (sb.length()), str);