Package org.nxplanner.domain.virtual

Examples of org.nxplanner.domain.virtual.DailyTimesheetEntry


    public TestDailyTimesheetEntry(String name) {
        super(name);
    }

    public static DailyTimesheetEntry getTestDailyTimesheetEntry() {
        DailyTimesheetEntry dte = new DailyTimesheetEntry(ENTRY_DATE, DURATION);
        return dte;
    }
View Full Code Here


            stmt.setInt(1, this.personId);
            stmt.setDate(2, new java.sql.Date(this.startDate.getTime()));
            stmt.setDate(3, new java.sql.Date(this.endDate.getTime()));
            ResultSet results = stmt.executeQuery();
            for (boolean isRow = results.next(); isRow; isRow = results.next()) {
                DailyTimesheetEntry time = new DailyTimesheetEntry();
                time.setEntryDate(results.getDate("report_date"));
                time.setTotalDuration(results.getDouble("total_duration"));
                timesheet.addDailyEntry(time);
            }
        } finally {
            stmt.close();
        }
View Full Code Here

TOP

Related Classes of org.nxplanner.domain.virtual.DailyTimesheetEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.