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);
 }
Esempio n. 2
0
 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());
 }
Esempio n. 4
0
 public Locale getLocaleObject() {
   return Utils.getCountryLocale(getCountry());
 }