Examples of afterOrEqualsDay()


Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

              }
              i++;
            }
          }else{
            while (date.beforeOrEqualsDay(toDate)){
              if ( date.afterOrEqualsDay(fromDate) && date.beforeOrEqualsDay(toDate) ){
                Expenditure myBill = new Expenditure(expenditure.getId(), expenditure.getDescription(), new GDDate(date), expenditure.getFrequency(), expenditure.getNumberOfOcurrencies(), expenditure.getValue(), expenditure.isFixedValue(), expenditure.getCategoryId(), expenditure.getObservation(),expenditure.getFirstPaymentDate(),expenditure.getLastPaymentDate());
                list.add(myBill);
              }
              date = skip(date, frequency);
              if (date == null) {
View Full Code Here

Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

        String numberOfParcelStr = "";
        GDDate today = new GDDate();
        GDDate parcelDate = new GDDate(parcel.getDate());
       
//        if (status == 0) {
          if(parcelDate.afterOrEqualsDay(today)) {
            value = new Money(parcel.getValueBeforeParcelDateExpiration()).getFloatValue();
          } else {
            value = new Money(parcel.getValueAfterParcelDateExpiration()).getFloatValue();
          }
//        } else if (status == 1) {
View Full Code Here

Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

            for (Registration registration : ((Map<String, Registration>) system.query(new GetRegistration())).values()) {
                int parcelId = 1;
                String nameForPrint;
                for (Parcel parcel : registration.getParcels()) {
                    GDDate parcelDate = new GDDate(parcel.getDate());
                    if(parcelDate.afterOrEqualsDay(initialDate) && parcelDate.beforeOrEqualsDay(finishDate) && !parcel.isPayed()){
                        billet = new Billet(String.valueOf(parcelId), parcel, registration, registration.getStudent(), getNameForPrint(registration));
                        billets.add(billet);
                    }
                    parcelId++;
                }
View Full Code Here

Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

                for (Registration registration : registrationMap.values()) {
                    List<Parcel> parcels = registration.getParcels();
                    if(parcels.size() > 1){
                      sortAlgorithm.sortParcelByDate(parcels);
                      GDDate dateParcel = new GDDate(parcels.get(parcels.size()-1).getDate());
                      if(registration.isActive() && ignoreDate ? true : (dateParcel.beforeOrEqualsDay(finishDate) && dateParcel.afterOrEqualsDay(startDate))) {
                        registrationList.add(registration);
                       
                      }
                    }
                }                 
View Full Code Here

Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

      for (Registration registration : ((Map<String, Registration>) system.query(new GetRegistration())).values()) {
        int parcelId = 1;
//        String nameForPrint;
        for (Parcel parcel : registration.getParcels()) {
          GDDate parcelDate = new GDDate(parcel.getDate());
          if(parcelDate.afterOrEqualsDay(initialDate) && parcelDate.beforeOrEqualsDay(finishDate) && !parcel.isPayed()){
            billet = new Billet(String.valueOf(parcelId), parcel, registration, registration.getStudent(), getNameForPrint(registration));
            billets.add(billet);
          }
          parcelId++;
        }
View Full Code Here

Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

        String numberOfParcelStr = "";
        GDDate today = new GDDate();
        GDDate parcelDate = new GDDate(parcel.getDate());
       
//        if (status == 0) {
          if(parcelDate.afterOrEqualsDay(today)) {
            value = new Money(parcel.getValueBeforeParcelDateExpiration()).getFloatValue();
          } else {
            value = new Money(parcel.getValueAfterParcelDateExpiration()).getFloatValue();
          }
//        } else if (status == 1) {
View Full Code Here

Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

                        if ( parcel.getPayDate() != null){
                          paidParcelsAndTotalParcels = (parcelid > 9 ? parcelid : "0"+(parcelid) ) + " / " ( registration.getParcels().size() > 9 ? registration.getParcels().size() :"0"+registration.getParcels().size());
                        }
                       
                        GDDate parcelGDDate = new GDDate(parcel.getDate());
                        if ( parcelGDDate.afterOrEqualsDay(startDate) && parcelGDDate.beforeOrEqualsDay(finishDate)){
                          parcelDate = parcel.getDate();
                          parcelPayDate = (parcel.getPayDate() == null ? "___/___/___":parcel.getPayDate().getFormatedDate());
                          parcelValueBeforeParcelDateExpiration = "R$ " + new Money(parcel.getValueBeforeParcelDateExpiration()).getFormatedValue();
                          addinfo = false;
                        }
View Full Code Here

Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

                    }
                   
                    for (Registration registration : registrationList) {
                        Student student = (Student) registration.getStudent().getPersonType("student");
                        GDDate registrationDate = new GDDate(registration.getRegistrationDate());
            if((student.getHowDoYouKnowVisualMidia().equals(howDoYouKnowVisualmidia)) &&  registration.isActive() && (ignoreDate ? true : (registrationDate.afterOrEqualsDay(startDate) && registrationDate.beforeOrEqualsDay(finishDate)))) {
                            if(i == 0) {
                              page.addElement(drawGrayRectangle(posX, posY, 535, 20, 3));
                                page.addElement(insertTitle(boldStyle, howDoYouKnowVisualmidia, posX+5, posY+5));
                               
                                posY += 25;
View Full Code Here

Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

                    };
                    Collections.sort(registrationList,comparator);
                for (Registration registration : registrationList) {
                       
                        GDDate registrationDate = new GDDate(registration.getEndDate());
            if(checkStatus(status, registration.getEndStatus()) && (ignoreDate ? true : (registrationDate.afterOrEqualsDay(startDate) && registrationDate.beforeOrEqualsDay(finishDate)))) {
              if (i == 0){
                page.addElement(drawGrayRectangle(posX, posY, 535, 20, 3));
                page.addElement(insertTitle(boldStyle, status, posX+5, posY+5));
               
                posY += 25;
View Full Code Here

Examples of br.com.visualmidia.business.GDDate.afterOrEqualsDay()

//                            registrationActives++;
//                          }
                      }
                      if (registration.getEndDate()!= null ){
                        GDDate registrationEndDate = new GDDate(registration.getEndDate().getTimeInMillis());
                        if ( registrationEndDate.afterOrEqualsDay(initialDate) && registrationEndDate.beforeOrEqualsDay(initialDateEndDayOfTheMonth)){
                          if (registration.getEndStatus().get(0).substring(0, 4).equals("Term")){
                            registrationEnded++;
                          }else{
                            boolean desistent = true;
                            for (String  deactivatedItem : listOfDeactivated){
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.