public AssemblyMonthlyAttendanceTotals(List<Event> events, int month) { for (int i = 0; i < events.size(); i++) { weeks[i] = events.get(i).getAttendance(); } this.month = month; this.monthName = Utils.getMonthName(month); setAverage(events); }
public String getCountry() { return Utils.getCountryFriendlyName(getLocale()); }
public Transaction(Tithe tithe) { this.setAccount(tithe.getMember().getAccount()); this.setTxndate(new Timestamp(tithe.getTxnDate().getTime())); this.setAmount(tithe.getAmount()); this.setTransactionid(Utils.generateID()); }
public Locale getLocaleObject() { return Utils.getCountryLocale(getCountry()); }