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);
 }
コード例 #2
0
 public String getCountry() {
   return Utils.getCountryFriendlyName(getLocale());
 }
コード例 #3
0
 public Transaction(Tithe tithe) {
   this.setAccount(tithe.getMember().getAccount());
   this.setTxndate(new Timestamp(tithe.getTxnDate().getTime()));
   this.setAmount(tithe.getAmount());
   this.setTransactionid(Utils.generateID());
 }
コード例 #4
0
 public Locale getLocaleObject() {
   return Utils.getCountryLocale(getCountry());
 }