Senin, 30 Juni 2008

| Comments

Hari pertama….

Aktivitas#### (10.30) Sampai di Kantor mulai mendesain sistem payroll,

fokus pada class Formula (12.45) Istirahat (13.30) Menyusun properties untuk class Formula preview class formula:

public class Formula { //variable id akan otomatis di generate di constructor private String id; private String Name; private String expression; private boolean varError; private ArrayList variables; private ArrayList operators; Formula(String Name, String expression) { } Formula(String expression) { } public double doCalculation (String expression, ArrayList param) { double result = 0; return result; } private double calcMonomial(String expression, char operator) { double result = 0; return result; } private String extractIFState(String expression) { String expr = “”; return expr; } private String cutBracket(String expr) { String result = “”; return result; } boolean isError() { return this.varError; } String getName() { return this.Name; } String getExpression() { return this.expression; } }

Achievement##### PayRoll web project package : #webPayRoll.helper

->Employee.java ->Formula.java ->Income.java ->Tax.java ->Variable.java

webPayRoll.servlet ->TransactionProcessServlet.java

kendala##### ~none in particular~

next work Day Kamis, 3 Juli 2008