TimeSlipVO hrtsvo = new TimeSlipVO();
hrtsvo.setTimesheetID(timeslipID);
String str = (String) it.next();
StringMember sm = null;
IntMember im = null;
PureDateMember pdm = null;
PureTimeMember ptm = null;
ListElement ele = (ListElement) DL.get(str);
sm = (StringMember) ele.get("Description");
String sDescription = sm.getDisplayString();
hrtsvo.setDescription(sDescription);
im = (IntMember) ele.get("ID");
String id = im.getDisplayString();
ptm = (PureTimeMember) ele.get("StartTime");
String sStartTime = ptm.getDisplayString();
Vector vStime = getTime(sStartTime);
String shr = (String) vStime.get(0);
int hr = Integer.parseInt(shr);
String smin = (String) vStime.get(1);
int min = Integer.parseInt(smin);
hrtsvo.setStart(new java.sql.Time(hr, min, 0));
//Convert to time
ptm = (PureTimeMember) ele.get("EndTime");
String sEndTime = ptm.getDisplayString();
//Convert to time
Vector vEtime = getTime(sEndTime);
String sEhr = (String) vEtime.get(0);
int iEhr = Integer.parseInt(sEhr);
String sEmin = (String) vEtime.get(1);
int iEmin = Integer.parseInt(sEmin);
hrtsvo.setEnd(new java.sql.Time(iEhr, iEmin, 0));
//Convert to time
pdm = (PureDateMember) ele.get("Date");
String sDate = pdm.getDisplayString();
//Convert to date
Vector vecDate = getDate(sDate);
String sMon = (String) vecDate.get(0);
int iMon = Integer.parseInt(sMon);
String sDay = (String) vecDate.get(1);
int iDay = Integer.parseInt(sDay);
String sYear = ((String) vecDate.get(2)).trim();
int iYear = Integer.parseInt(sYear);
hrtsvo.setDate(new java.sql.Date(iYear, iMon, iDay));
//Convert to date
sm = (StringMember) ele.get("Duration");
String sDuration = sm.getDisplayString();
try
{
HrFacadeHome aa = (HrFacadeHome)
CVUtility.getHomeObject("com.centraview.hr.hrfacade.HrFacadeHome", "HrFacade");