Package com.centraview.common

Examples of com.centraview.common.DateMember


        Integer value = (Integer)im.getMemberValue();
        int IndividualID = value.intValue();
        sm.setRequestURL("c_openPopup('/contacts/view_individual.do?rowId=" + ((Integer)im.getMemberValue()).intValue() + "');");

        // Set default date format not to print seconds
        DateMember dm = (DateMember)ele.get("Created");
        dm.setDateFormat("MMM d, yyyy hh:mm a");
      } catch (Exception e) {
        System.out.println("[Exception] ViewTicketHandler.setLinksfunction: " + e.toString());
      }
    }
    return DL;
View Full Code Here


            InvoiceDate = df.parse(invDateStr[i]) ;
          }
          catch (Exception e){
            e.printStackTrace();
          }
          DateMember invoiceDate = new DateMember ("Date",InvoiceDate,10,"",'T',false,1,"EST");

          DoubleMember   Total = new DoubleMember("Total",new Double(total[i]),'D',"0",'T',false,20);


          DoubleMember   AmountDue = new DoubleMember("AmountDue",new Double(amtDue[i]),'D',"",'T',false,20);
View Full Code Here

        String str = (String) it.next();
        ListElement ele = (ListElement) DL.get(str);

        StringMember Title = (StringMember) ele.get("Title");
        StringMember description = (StringMember) ele.get("Description");
        DateMember date = (DateMember) ele.get("Created");
        StringMember Priority = (StringMember) ele.get("Priority");
        StringMember Created = (StringMember) ele.get("CreatedBy");
        ThreadListValues += "<tr class=\"" + oddOrEven + "\"  height=\"20\">\n";
        ThreadListValues += "<td class=\"" + oddOrEven + "\" >" + Title.getMemberValue().toString() + "</td>\n";

        String dataValue = description.getMemberValue().toString();
        dataValue = dataValue.replaceAll("\n", "<br>");

        ThreadListValues += "<td class=\"" + oddOrEven + "\" >" + dataValue + "</td>\n";
        ThreadListValues += "<td class=\"" + oddOrEven + "\" >" + date.getMemberValue().toString() + "</td>\n";
        ThreadListValues += "<td class=\"" + oddOrEven + "\" >" + Priority.getMemberValue().toString() + "</td>\n";
        ThreadListValues += "<td class=\"" + oddOrEven + "\" >" + Created.getMemberValue().toString() + "</td>\n";
        ThreadListValues += "</tr>\n";

      }// end of try block
View Full Code Here

          /*
          if(hm.get("invoicetitle") != null)
          */
          invoiceNum = new StringMember("InvoiceNum", invID+"",10,"",'T',false);

          DateMember invDate = new DateMember( "Date" , (Date)hm.get("invoicedate",10 , "" , 'T' , false ,1 ,"EST" );


          Double total = new Double(0);
          if(hm.get("invoicetotal") != null ){
            total = new Double(((Number) hm.get("invoicetotal")).doubleValue());
View Full Code Here

          id = ((Long) hm.get("entityid")).intValue();

          IntMember entityID =
            new IntMember("EntityID", id, 10, "", 'T', false, 10);

          DateMember date =
            new DateMember("Date",
              new Date(((Timestamp) hm.get("date")).getTime()), 10, "", 'T',
              false, 1, timezoneid);

          DoubleMember total =
            new DoubleMember("Total",
View Full Code Here

          {
            strCustID =
              new StringMember("CustomerID", null, 10, null, 'T', true);
          }

          DateMember date = null;

          if (hm.get("InvoiceDate") != null)
          {
            date =
              new DateMember("InvoiceDate", (Date) hm.get("InvoiceDate"), 10,
                null, 'T', false, 10, "EST");
          }
          else
          {
            date =
              new DateMember("InvoiceDate", null, 10, null, 'T', false, 10,
                "EST");
          }

          DoubleMember dblAmount =
            new DoubleMember("Total", amount, 10, null, 'T', false, 10);
View Full Code Here

          IntMember intIndID =
            new IntMember("IndividualID", indID, 10, null, 'T', false, 10);
          DoubleMember dblAmount =
            new DoubleMember("Amount", amount, 10, "", 'T', false, 10);

          DateMember submitedDt =
            new DateMember("Created", (Date) hm.get("Created"), 10, "", 'T',
              false, 1, "EST");

          StringMember strReference = null;

          if ((hm.get("Reference") != null))
View Full Code Here

          DoubleMember dblTax =
            new DoubleMember("Tax", tax, 10, "", 'T', false, 10);
          DoubleMember dblTotal =
            new DoubleMember("Total", total, 10, "", 'T', false, 10);

          DateMember date =
            new DateMember("Created", (Date) hm.get("Created"), 10, "", 'T',
              false, 1, "EST");

          StringMember strEntity = null;

          if ((hm.get("Entity") != null))
View Full Code Here

            new DoubleMember("AppliedAmount", appliedAmt, 10, "", 'T', false, 10);
          DoubleMember dblUnAppAmt =
            new DoubleMember("UnAppliedAmount", unAppliedAmt, 10, "", 'T',
              false, 10);

          DateMember paymentDt =
            new DateMember("PaymentDate", (Date) hm.get("PaymentDate"), 10, "",
              'T', false, 1, "EST");

          StringMember strReference = null;

          if ((hm.get("Reference") != null))
View Full Code Here

      int ID = ((Long)hm.get("eventid")).intValue();
      IntMember eventid = new IntMember("eventid", ID, 10, "", 'T', false, 10);
      StringMember title = new StringMember("title", (String)hm.get("title"), 10, "", 'T', true);
      StringMember detail = new StringMember("detail", (String)hm.get("detail"), 10, "", 'T', false);
      DateMember start = new DateMember("start", (java.util.Date)hm.get("start"), 10, "URL", 'T',
          false, 100, "EST");
      DateMember end = new DateMember("end", (java.util.Date)hm.get("end"), 10, "URL", 'T', false,
          100, "EST");
      StringMember ownername = new StringMember("ownername", (String)hm.get("ownername"), 10, "",
          'T', true);
      // Object test = hm.get("registeredattendees");
      int regAtt = ((Number)hm.get("registeredattendees")).intValue();
View Full Code Here

TOP

Related Classes of com.centraview.common.DateMember

Copyright © 2018 www.massapicom. 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.