Examples of DateAdd()


Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

    // ftyp
    filters.add(cb.equal(root.get("ftyp"), HpEKConstants.EK_FTYP_OPERATION));

    // range
    ufisCalendarFrom.DateAdd(fromOffset, EnumTimeInterval.Hours);
    ufisCalendarTo.DateAdd(toOffset, EnumTimeInterval.Hours);
    LOG.debug("EGDS: fromOffset={}", ufisCalendarFrom.getCedaString());
    LOG.debug("EGDS: toOffset={}", ufisCalendarTo.getCedaString());

    if (adid != null && egdsMsgType != MSGTYPE.ROUTE) {
      if (MSGTYPE.MVT == egdsMsgType) {
View Full Code Here

Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

      ufisCalendarTo.setTime(ufisCalendarTo.getCurrentUTCTime());
      LOG.debug("ufisCalendarFrom={}", ufisCalendarFrom.getCedaString());
      LOG.debug("ufisCalendarTo={}", ufisCalendarTo.getCedaString());
      // range
      ufisCalendarFrom.DateAdd(fltFrom, EnumTimeInterval.Minutes);
      ufisCalendarTo.DateAdd(fltTo, EnumTimeInterval.Minutes);
      LOG.info("ufisCalendarFrom After adding Offset:"
          + ufisCalendarFrom.getCedaString()
          + "  ufisCalendarTo after adding Offset:"
          + ufisCalendarTo.getCedaString());
      CriteriaBuilder cb = em.getCriteriaBuilder();
View Full Code Here

Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

      return;
    }
   
    try {
      HpUfisCalendar ufisCal = new HpUfisCalendar(new Date());
      ufisCal.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC, EnumTimeInterval.Hours);

      EntDbOrmtab entDbOrmtab = new EntDbOrmtab();
      // composite pkey
      entDbOrmtab.setId(new EntDbOrmCompositeId(ormNextUrno, dtfl));
      entDbOrmtab.setData(outgoingMessage);
View Full Code Here

Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

     
        HpUfisCalendar fromDate = new HpUfisCalendar(utcTz);
        HpUfisCalendar toDate = new HpUfisCalendar(utcTz);

        fromDate.DateAdd(startOffset, EnumTimeInterval.Days);
        toDate.DateAdd(endOffset, EnumTimeInterval.Days);
     
    Query query = _em.createQuery(
        "SELECT e " +
        "FROM EntDbAfttab e " +
        "WHERE (e.alc2 = 'EK' OR e.alc3 = 'UAE') " +
View Full Code Here

Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

            ufisCalendar.setTime(towDetails.getHEADER().getFLIGHTSTASTD(), ufisCalendar.getCustomFormat());
            infobjgeneric.setSTDT(ufisCalendar.getCedaString());
            // flda in utc -> Flut
            towings.setFLUT(ufisCalendar.getCedaDateString());
            // convert to local for update flda
            ufisCalendar.DateAdd(HpUfisAppConstants.OFFSET_UTC_LOCAL, EnumTimeInterval.Hours);
            towings.setFLDA(ufisCalendar.getCedaDateString());
            //infobjgeneric.setSTOA(ufisCalendar.getCedaString());
            //infobjgeneric.setSTOD(ufisCalendar.getCedaString());
        }
        //infobjgeneric.setREGN(towDetails.getDETAILS().getREGISTRATIONNUMBER());
View Full Code Here

Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

                      // STDT
                      //infobjgeneric.setSTDT(ufisCalendar.getCedaString());
                  infobjgeneric.setSTDT(DF_CEDA.format(ufisCalendar.getTime()));
                     
                      // flda in local
                      ufisCalendar.DateAdd(HpUfisAppConstants.OFFSET_UTC_LOCAL, EnumTimeInterval.Hours);
                      //infobjFlight.setFLDA(ufisCalendar.getCedaDateString());
                      infobjFlight.setFLDA(DF_CEDADATE.format(ufisCalendar.getTime()));
          } catch (DatatypeConfigurationException e) {
            LOG.error("DatatypeConfigurationException: {}", e);
            //LOG.debug("Dropped Message details: \n{}", _flightXml);
View Full Code Here

Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

            min = Integer.parseInt(paxDetails.getCHECKINTIME()
                .substring(2, 4));
          } catch (Exception e) {
            LOG.info("PaxDetails message Checking Time parse erro");
          }
          ufisCalendar.DateAdd(hour, EnumTimeInterval.Hours);
          ufisCalendar.DateAdd(min, EnumTimeInterval.Minutes);
        }
        edpiod.setCheckInDateTime(ufisCalendar.getTime());
      }
View Full Code Here

Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

                .substring(2, 4));
          } catch (Exception e) {
            LOG.info("PaxDetails message Checking Time parse erro");
          }
          ufisCalendar.DateAdd(hour, EnumTimeInterval.Hours);
          ufisCalendar.DateAdd(min, EnumTimeInterval.Minutes);
        }
        edpiod.setCheckInDateTime(ufisCalendar.getTime());
      }

      // // set scan date time
View Full Code Here

Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

      //startDate.setTimeZone(HpEKConstants.utcTz);
      //endDate.setTimeZone(HpEKConstants.utcTz);
     
      // Convert to UTC time
      startDate.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC, EnumTimeInterval.Hours);
      endDate.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC, EnumTimeInterval.Hours);
     
      // Add search criteria offset
      startDate.DateAdd(HpPaxAlertTimeRangeConfig.getPaxAlertFromOffset(), EnumTimeInterval.Minutes);
      endDate.DateAdd(HpPaxAlertTimeRangeConfig.getPaxAlertToOffset(), EnumTimeInterval.Minutes);
     
View Full Code Here

Examples of com.ufis_as.ufisapp.lib.time.HpUfisCalendar.DateAdd()

      startDate.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC, EnumTimeInterval.Hours);
      endDate.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC, EnumTimeInterval.Hours);
     
      // Add search criteria offset
      startDate.DateAdd(HpPaxAlertTimeRangeConfig.getPaxAlertFromOffset(), EnumTimeInterval.Minutes);
      endDate.DateAdd(HpPaxAlertTimeRangeConfig.getPaxAlertToOffset(), EnumTimeInterval.Minutes);
     
      // ===========================================
      // ============ LOAD SUMMARY =================
      // ===========================================
      LOG.info("Start for flights from LOAD SUMMARY...");
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.